When you fix it, here's another test case (a slight variation) for you to
check.
The code compiles but marked by IDEA as an error ("Cannot resolve symbol
Map").


===================================
import java.util.Map.*;

public class Test {
    public void f(Entry entry) {
    }
}
===================================


Timur Zambalayev


----- Original Message -----
From: Valentin Kipiatkov
Subject: Re: [Eap-list] BUG: Erroneous error highlighting for inner class
import.
Date: Thu, 27 Dec 2001 06:47:33 -0800


It's a known problem, it's scheduled to be fixed in Ariadna.

Best regards,
Valentin Kipiatkov
-----------------------------------------------------------
 IntelliJ Software, http://www.intellij.com/
 "Develop with pleasure"
-----------------------------------------------------------

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 27, 2001 5:30 AM
Subject: [Eap-list] BUG: Erroneous error highlighting for inner class
import.


> It is legal in Java to import an inner class.
> For example, you can declare:
>
> import java.util.Map.Entry;
>
> and to then just use Entry everywhere instead of Map.Entry.
>
> While IntelliJ compiles this fine, it incorrectly flags it as an error in
> the editor. It will highlight "Map", reporting that it cannot resolve the
> symbol.
>
> Graham Lea
>


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

Reply via email to