Don't warn about parentheses on match (return)

This commit is contained in:
varkor
2018-10-17 23:51:01 +01:00
parent 5ea8eb55cd
commit 0a858dc859
2 changed files with 14 additions and 5 deletions

View File

@@ -0,0 +1,6 @@
// run-pass
fn main() {
match (return) {} // ok
if (return) {} // ok
}