Hello,

I've reported this a while ago before:

IDEA flags errors on legal Java code for the following syntax:

            ClassA a = new ClassA();

            ClassA.ClassB b = a. //<--IDEA shows an error here, stating "';'
expected"
                new ClassA.ClassB();

where ClassB is a non-static inner class in ClassA. It seems IDEA will not
allow an instance of a non-static inner class to be created.


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to