Skip to content

Commit

Permalink
fix stray ""
Browse files Browse the repository at this point in the history
  • Loading branch information
samoconnor committed Mar 13, 2016
1 parent 3816d58 commit 91ce77d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/repeat_try.jl
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function check_try_catch(expr, require_exception_variable::Bool)
@assert typeof(expr.args[2]) == Symbol "" *
"""Expected exception vairable name."""
else
if typeof(expr.args[2]) != Symbol ""
if typeof(expr.args[2]) != Symbol
@assert expr.args[2] == false
expr.args[2] = :err
end
Expand Down

0 comments on commit 91ce77d

Please sign in to comment.