mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 19:29:30 +07:00
parenthesis processing (IDEA-98421)
This commit is contained in:
+16
@@ -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("");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user