Skip to content

Commit 815209e

Browse files
committed
Add a nospecialize
1 parent b1181ce commit 815209e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lowered.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function categorize_stmt(@nospecialize(stmt))
6262
return ismeth, haseval, isinclude, isnamespace, istoplevel
6363
end
6464
# Check for thunks that define functions (fixes #792)
65-
function defines_function(ci)
65+
function defines_function(@nospecialize(ci))
6666
isa(ci, CodeInfo) || return false
6767
if length(ci.code) == 1
6868
stmt = ci.code[1]

0 commit comments

Comments
 (0)