Alain,
this is fixed in #633.
Thank you for the bug report and sorry for inconvenience.
Friendly,
Dmitry
Alain Ravet wrote:
> bug with "Replace temp by query" and array of array:
>
>
>
> *********
> Before:
> *********
> public void test()
> {
> double sizes[][] =
> { {1,2,3},
> {1,2,3}
> };
> int nofCols = sizes ()[0].length ;
> }
>
>
> *********
> Action :
> *********
> Replace temp by query, on sizes
>
>
>
> *********
> After:
> *********
> public void test()
> {
> int nofCols = sizes ()[0].length ;
> }
>
> private double[][] sizes()
> {
> return { {1,2,3},
> {1,2,3}
> };
> }
>
>
> It doesn't compile.
> It should have produced :
>
> return new double[][] { {1,2,3},
> {1,2,3}
> };
>
--
Dmitry Lomov
JetBrains Inc. / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"
_______________________________________________
Eap-bugs mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-bugs