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
0d9e6fd3
Commit
0d9e6fd3
authored
Jul 19, 2020
by
Henrik (Grubba) Grubbström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
EFUNs: Improved type for `+().
Fixes some of
#10040
.
parent
0a3d9f0b
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 @
0d9e6fd3
...
...
@@ -5771,8 +5771,9 @@ void init_operators(void)
add_efun2
(
"`>="
,
f_ge
,
CMP_TYPE
,
OPT_TRY_OPTIMIZE
,
0
,
generate_comparison
);
ADD_EFUN2
(
"`+"
,
f_add
,
tOr7
(
tIfnot
(
tFuncV
(
tNone
,
tNot
(
tOr
(
tObj
,
tMix
)),
tMix
),
tFuncV
(
tNone
,
tMix
,
tMix
)),
tOr7
(
tIfnot
(
tFuncV
(
tNone
,
tNot
(
tObj
),
tMix
),
tOr
(
tFuncArg
(
tSetvar
(
2
,
tObj
),
tFindLFun
(
tVar
(
2
),
"`+"
)),
tFuncV
(
tNot
(
tObj
),
tMix
,
tMix
))),
tOr3
(
tFuncV
(
tIntPos
,
tIntPos
,
tIntPos
),
tFuncV
(
tIntNeg
,
tIntNeg
,
tIntNeg
),
tIfnot
(
tFuncV
(
tNone
,
tNot
(
tIntNeg
),
tMix
),
...
...
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