Skip to content

Commit

Permalink
Update Parse.jl (#841)
Browse files Browse the repository at this point in the history
Update `== nothing` to `=== nothing`
  • Loading branch information
heetbeet authored Jan 12, 2021
1 parent 473be5b commit ab7367a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analysis/Parse.jl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function fix_linenumbernodes!(ex::Expr, actual_filename)
if a isa Expr
fix_linenumbernodes!(a, actual_filename)
elseif a isa LineNumberNode
if a.file == nothing || a.file == :none
if a.file === nothing || a.file == :none
ex.args[i] = LineNumberNode(a.line, Symbol(actual_filename))
end
end
Expand Down

0 comments on commit ab7367a

Please sign in to comment.