Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
pikelang
pike
Commits
cc20be7b
Commit
cc20be7b
authored
Jul 26, 2020
by
Henrik (Grubba) Grubbström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
EFUNs: Stricter type for lfun::`/().
Fixes warning in Crypto.DH. Fixes
#10045
.
parent
afbedbf3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/operators.c
src/operators.c
+3
-2
No files found.
src/operators.c
View file @
cc20be7b
...
...
@@ -5935,8 +5935,9 @@ multiset & mapping -> mapping
"function(array(0=mixed),array|int|float...:array(array(0)))|"
"function(string,string|int|float...:array(string)) */
ADD_EFUN2
(
"`/"
,
f_divide
,
tOr5
(
tIfnot
(
tFuncV
(
tNone
,
tNot
(
tOr
(
tObj
,
tMix
)),
tMix
),
tFuncV
(
tNone
,
tMix
,
tMix
)),
tOr5
(
tIfnot
(
tFuncV
(
tNone
,
tNot
(
tObj
),
tMix
),
tOr
(
tFuncArg
(
tSetvar
(
1
,
tObj
),
tFindLFun
(
tVar
(
1
),
"`/"
)),
tFuncV
(
tNot
(
tObj
),
tMix
,
tMix
))),
tOr4
(
tFuncV
(
tIntPos
,
tIntPos
,
tIntPos
),
tFuncV
(
tIntNeg
,
tIntNeg
,
tIntPos
),
tFuncV
(
tIntPos
,
tIntNeg
,
tIntNeg
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment