Skip to content

Commit 40c5e29

Browse files
authored
add parens to string interpolation
I'm not sure why, but I wasn't able to precompile with julia 1.3 until I added these parens. It shouldn't change anything.
1 parent 1fe1ccd commit 40c5e29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/analysis.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ function locals(warn, call)
140140
var = c.slotnames[x.id]
141141
startswith(string(var), '#') && continue
142142
for (l, t) in as
143-
warn(call, l, "$var is assigned as $t")
143+
warn(call, l, "$(var) is assigned as $(t)")
144144
end
145145
end
146146
end

0 commit comments

Comments
 (0)