Inline the variable "d" in the following code :

         String  d[] ={"one"} ;
         System.out.println ( ""+  d[0] );

and you get
         System.out.println ( ""+  {"one"}[0] );
that does not compile.


Inline should have produced :
         System.out.println ( ""+  new String[]{"one"}[0] );


Alain Ravet

_______________________________________________
Eap-bugs mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-bugs

Reply via email to