Skip to content

Commit 3e4b6ea

Browse files
committed
Support mangling of negative integers.
1 parent f02d418 commit 3e4b6ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/irgen.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ function mangle_param(t, substitutions)
137137

138138
str
139139
elseif isa(t, Integer)
140-
"Li$(t)E"
140+
t > 0 ? "Li$(t)E" : "Lin$(abs(t))E"
141141
else
142142
tn = safe_name(t)
143143
"$(length(tn))$tn"

0 commit comments

Comments
 (0)