File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
1
name = " LoweredCodeUtils"
2
2
uuid = " 6f1432cf-f94c-5a45-995e-cdbf5db27b0b"
3
3
authors = [
" Tim Holy <[email protected] >" ]
4
- version = " 2.4.7 "
4
+ version = " 2.4.8 "
5
5
6
6
[deps ]
7
7
JuliaInterpreter = " aa1ae85d-cabe-5617-a682-6adf51b2e16a"
Original file line number Diff line number Diff line change @@ -146,10 +146,12 @@ function identify_framemethod_calls(frame)
146
146
for (i, stmt) in enumerate (frame. framecode. src. code)
147
147
isa (stmt, Expr) || continue
148
148
if stmt. head === :global && length (stmt. args) == 1
149
- key = stmt. args[1 ]:: Symbol
150
- # We don't know for sure if this is a reference to a method, but let's
151
- # tentatively cue it
152
- push! (refs, key=> i)
149
+ key = stmt. args[1 ]
150
+ if isa (key, Symbol)
151
+ # We don't know for sure if this is a reference to a method, but let's
152
+ # tentatively cue it
153
+ push! (refs, key=> i)
154
+ end
153
155
elseif stmt. head === :thunk && stmt. args[1 ] isa CodeInfo
154
156
tsrc = stmt. args[1 ]:: CodeInfo
155
157
if length (tsrc. code) == 1
You can’t perform that action at this time.
0 commit comments