Parse nullary ret correctly
ret is similar to fail: if not followed by an expression, it should be parsed as a ret without an argument. The old version would fail if ret was followed by a close paren (for example). Fixed it. Closes #676.
Showing
src/test/run-pass/if-ret.rs
0 → 100644
想要评论请 注册 或 登录