Skip to content

Commit b00f001

Browse files
committed
Revert changes to src.slottypes
1 parent 2b0f545 commit b00f001

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/CthulhuBase.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,10 +222,10 @@ function lookup_unoptimized(interp::CthulhuInterpreter, ci::CodeInstance)
222222
(; rt, exct) = unopt
223223
infos = unopt.stmt_info
224224
effects = unopt.effects
225-
if isnothing(src.slottypes)
226-
src.slottypes = Any[ Any for i = 1:length(src.slotflags) ]
227-
end
228225
slottypes = src.slottypes
226+
if isnothing(slottypes)
227+
slottypes = Any[ Any for i = 1:length(src.slotflags) ]
228+
end
229229
return LookupResult(src, rt, exct, infos, slottypes, effects, codeinf)
230230
end
231231

0 commit comments

Comments
 (0)