Skip to content

Commit c236177

Browse files
authored
Merge pull request #29 from stords/patch-1
add parens to string interpolation
2 parents 1fe1ccd + 40c5e29 commit c236177

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)