Skip to content

Commit 56a6f75

Browse files
committed
remove more outdated code
1 parent 4f9217f commit 56a6f75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ function typedef_range(src::CodeInfo, idx)
165165
while iend <= n
166166
stmt = src.code[iend]
167167
if isa(stmt, Expr)
168-
(stmt.head === :global || stmt.head === :return) && break
168+
stmt.head === :global && break
169169
if stmt.head === :call
170170
if (is_global_ref(stmt.args[1], Core, :_typebody!) ||
171171
isdefined(Core, :_typebody!) && is_quotenode_egal(stmt.args[1], Core._typebody!))

0 commit comments

Comments
 (0)