parenthesis processing (IDEA-98421)

This commit is contained in:
anna
2013-01-03 13:15:42 +01:00
parent 507bcd7333
commit 1e9a4087e6
5 changed files with 40 additions and 25 deletions
@@ -4,3 +4,19 @@ class OtherClass {
class Main<B extends OtherClass.InnerClass> { }
class Main1 extends <error descr="No enclosing instance of type 'OtherClass' is in scope">OtherClass.InnerClass</error> { }
class NonDefaultConstructorContainer {
public class Inner {
public Inner(String s) {}
}
}
class UsageWithParenthesis extends NonDefaultConstructorContainer.Inner {
public UsageWithParenthesis() {
(new NonDefaultConstructorContainer()).super("");
}
public UsageWithParenthesis(NonDefaultConstructorContainer e) {
(e).super("");
}
}