Parenthesis are mandatory after a constructor call (due to problems with 'new Foo?isValid()')

This commit is contained in:
Andrey Breslav
2011-03-17 11:51:28 +03:00
parent b46543b872
commit 28e16cc214
7 changed files with 22 additions and 12 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
fun a(
a : foo = throw new Foo,
a : foo = throw new Foo(),
a : foo = return 10,
a : foo = break,
a : foo = break @la,