Type annotations on C-style arrays are recognized now

This commit is contained in:
Roman Shevchenko
2013-03-31 23:13:14 +02:00
parent 4b76c9d474
commit 8bb33ccdca
7 changed files with 139 additions and 30 deletions
@@ -108,6 +108,8 @@ class Outer {
new Boolean @<error descr="Duplicate annotation">TA</error> @<error descr="Duplicate annotation">TA</error> [42];
}
int @TA [] mixedArrays() @TA [] <error descr="Annotations are not allowed here">@TA</error> { return new int[0][0]; }
@TA Outer() { }
class MyClass<@TA @TPA T> { }