8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ClsCatch
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The clauses in case expressions must be ClsCase, but not.
ClsCase
For example:
main(X) -> case X of {abc, Foo, Bar} -> ok end.
Current obeam (0.1.5) treats the clause in this code as an ClsCatch.
(ClsCatch (line 7) (line_cls 7) (line_stacktrace 7) (exception_class (AtomVarAtom (line 7) (atom abc))) (pattern (PatVar (line 7) (id Foo))) (stacktrace Bar) (guard_sequence ()) (body (ExprBody (exprs ((ExprLit (lit (LitAtom (line 7) (atom ok)))))))))
The text was updated successfully, but these errors were encountered:
Fix yutopp#101
e60f12e
99f95e0
1168646
Successfully merging a pull request may close this issue.
The clauses in case expressions must be
ClsCase
, but not.For example:
Current obeam (0.1.5) treats the clause in this code as an
ClsCatch
.The text was updated successfully, but these errors were encountered: