IDEA-136162 (type annotations in anonymous classes)

This commit is contained in:
Roman Shevchenko
2015-02-09 19:23:15 +01:00
parent 041a7c1c3d
commit 2c738eea52
2 changed files with 6 additions and 2 deletions

View File

@@ -59,6 +59,7 @@ class Outer {
{
new @TA Object();
new @TA ArrayList<String>();
new @TA Runnable() { public void run() { } }.run();
ArrayList<String> var = new <String> @TA ArrayList();
new @TA Outer().new @TA Middle();