Skip to content

Commit 594593e

Browse files
committed
fixup! Add support for default values to TYPEDSIGNATURES
1 parent 1c80865 commit 594593e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parsing.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function parse_call(expr::Expr)
109109
Base.remove_linenums!(expr)
110110
expr = find_call_expr(expr)
111111

112-
if Meta.isexpr(expr, :call)
112+
if !Meta.isexpr(expr, :call)
113113
throw(ArgumentError("Argument is not a :call, cannot parse it."))
114114
end
115115

0 commit comments

Comments
 (0)