Skip to content

Commit 4539b6f

Browse files
author
a
committed
fix bug, exprs are exprs
1 parent 03844e1 commit 4539b6f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/expr.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# This file contains default definitions for TermInterface methods on Julia
22
# Builtin Expr type.
33

4+
isexpr(x::Expr) = true
45
iscall(x::Expr) = x.head == :call
56

67
head(e::Expr) = e.head

0 commit comments

Comments
 (0)