-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
accept
for
, case
and quote
expressions after version 1.13.0 or …
…later for ``` left: "for(x <- enum) do\n x * 2\nend == [2, 4, 6]\n|\n[2, 4, 8]\n\nonly in lhs: '\\b'\nonly in rhs: [6]" right: "for x <- enum do\n x * 2\nend == [2, 4, 6]\n|\n[2, 4, 8]\n\nonly in lhs: '\\b'\nonly in rhs: [6]" ``` case ``` left: "case x do\n {:ok, right} ->\n right\n {_left, right} ->\n case right do\n {:ok, right} ->\n right\n end\nend == :doing\n|\n:done" right: "case x do\n {:ok, right} ->\n right\n\n {_left, right} ->\n case right do\n {:ok, right} -> right\n end\nend == :doing\n|\n:done" ``` quote ``` left: "quote(@opts) do\n :hoge\nend == :fuga\n|\n:hoge" right: "quote @opts do\n :hoge\nend == :fuga\n|\n:hoge" ```
- Loading branch information
Showing
1 changed file
with
66 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters