Please read my reply carefully: I didn't say it was not
valid java.  I said it is not a valid statement.  It is
two statements...which from my (very) limited experience
in writing parsers is _very_ different from a single
statement.

Anyway, you should note that I agreed that it was a bug.

Alain Ravet wrote:

>  > Chriss Meril wrote :
>  > I imagine this is because IDEA recognizes that the combination of
>  > the two lines does not make a valid statement - but it gives no
>  > indication of the condition - and I agree that it should not
>  > matter.  I run across this frequently - it is rather annoying.
> 
> Chriss,
> 
> As fas as I know,
>        line 2:          int i = 0 ;
>        line 3:          int j = 0 ;
> 
> is perfectly valid in java.
> 
> 
> I simplified some real code to the extreme to keep the example short.
> I could have written :
> 
>  >       line 1:     if (true)
>  >       line 2:          i = 0 ;
>  >       line 3:          j = 0 ;
> 
> Same problem, same "bug"
> 
> Alain Ravet.
> 

*********************************
Chris Merrill
[EMAIL PROTECTED]
*********************************


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

Reply via email to