Skip to content

Commit

Permalink
Merge pull request #29 from stords/patch-1
Browse files Browse the repository at this point in the history
add parens to string interpolation
  • Loading branch information
pfitzseb authored Aug 20, 2019
2 parents 1fe1ccd + 40c5e29 commit c236177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analysis.jl
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ function locals(warn, call)
var = c.slotnames[x.id]
startswith(string(var), '#') && continue
for (l, t) in as
warn(call, l, "$var is assigned as $t")
warn(call, l, "$(var) is assigned as $(t)")
end
end
end
Expand Down

0 comments on commit c236177

Please sign in to comment.