An observation, !msg instanceof FinalizationMessage is wrong because ! has
precedence over instanceof... but anyway don't know if this is the cause of
the error though... So don't know if this bug should be taken in account.


  []'s,

  Rodrigo.

> -----Original Message-----
> From: Rodrigo Gevaerd [mailto:[EMAIL PROTECTED]]
> Sent: sexta-feira, 15 de fevereiro de 2002 16:33
> To: '[EMAIL PROTECTED]'
> Subject: RE: [Eap-list] 604: Introduce Variable with instanceof
> expression
> 
> 
> 
>   Excuse me, but only now I see it is a more specific case: 
> it only doesn't
> work if there is a "!". Like the following:
> 
>     if (display != null || !msg instanceof FinalizationMessage)
> 
>   Marking msg instanceof FinalizationMessage does not work. 
> Marking !msg
> instanceof FinalizationMessage works.
> 
>   []'s,
> 
>   Rodrigo.
> 
> > -----Original Message-----
> > From: Valentin Kipiatkov [mailto:[EMAIL PROTECTED]]
> > Sent: sexta-feira, 15 de fevereiro de 2002 14:17
> > To: [EMAIL PROTECTED]
> > Subject: Re: [Eap-list] 604: Introduce Variable with instanceof
> > expression
> > 
> > 
> > I could not reproduce this. Could you send a sample code to 
> > reporduce it?
> > 
> > Best regards,
> > Valentin Kipiatkov
> > -----------------------------------------------------------
> >  IntelliJ Software, http://www.intellij.com/
> >  "Develop with pleasure"
> > -----------------------------------------------------------
> > 
> > ----- Original Message ----- 
> > From: "Rodrigo Gevaerd" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, February 14, 2002 10:00 PM
> > Subject: [Eap-list] 604: Introduce Variable with instanceof 
> expression
> > 
> > 
> > > Introduce Variable does not work with:
> > > 
> > > obj instanceof Class
> > > 
> > > although it does work with:
> > > 
> > > (obj instanceof Class)
> > > 
> > > []'s,
> > > 
> > > Rodrigo.
> > 
> 
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list
> 

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

Reply via email to