Skip to content

Commit

Permalink
Escape $ to avoid interpolations
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieugomez committed Apr 26, 2018
1 parent 5905ab5 commit c320c42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deprecated.jl
@@ -1,5 +1,5 @@
function Formula(lhs, rhs)
Base.depwarn("Formula(lhs, rhs) is deprecated. Use @eval(@formula($lhs ~ $rhs)) if " *
Base.depwarn("Formula(lhs, rhs) is deprecated. Use @eval(@formula(\$lhs ~ \$rhs)) if " *
"parsing is required, or Formula(ex_orig, ex, lhs, rhs) if not",
:Formula)
Formula(:(), :($lhs ~ $rhs), lhs, rhs)
Expand Down

0 comments on commit c320c42

Please sign in to comment.