Skip to content

Commit e903f76

Browse files
authored
Merge pull request #30 from TuringLang/mt/minor_fix
Minor fix
2 parents fce354b + 6bd2f17 commit e903f76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/varinfo.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1107,7 +1107,7 @@ function push!(
11071107
)
11081108

11091109
if vi isa UntypedVarInfo
1110-
@assert ~(vn in keys(vi)) "[push!] attempt to add an exisitng variable $(sym(vn)) ($(vn)) to VarInfo (keys=$(keys(vi))) with dist=$dist, gid=$gid"
1110+
@assert ~(vn in keys(vi)) "[push!] attempt to add an exisitng variable $(getsym(vn)) ($(vn)) to VarInfo (keys=$(keys(vi))) with dist=$dist, gid=$gidset"
11111111
elseif vi isa TypedVarInfo
11121112
@assert ~(haskey(vi, vn)) "[push!] attempt to add an exisitng variable $(getsym(vn)) ($(vn)) to TypedVarInfo of syms $(syms(vi)) with dist=$dist, gid=$gidset"
11131113
end

0 commit comments

Comments
 (0)