Skip to content

Commit b16af00

Browse files
committed
:islocal, :isglobal
1 parent da932a0 commit b16af00

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/compat.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,9 @@ function _insert_convert_expr(@nospecialize(e), graph::SyntaxGraph, src::SourceA
409409
st_id = _insert_tree_node(graph, K"core", src)
410410
setattr!(graph, st_id; name_val=coreref_name)
411411
return st_id, src
412+
elseif e.head === :islocal || e.head === :isglobal
413+
st_k = K"extension"
414+
child_exprs = [Expr(:sym_not_identifier, e.head), e.args[1]]
412415
end
413416

414417
# Temporary heads introduced by converting the parent expr

0 commit comments

Comments
 (0)