Project: JDT
Bug 38471 inline method: compile error (array related) [refactoring]
Reported: 2003-06-05 06:01:14 | Status: resolved fixed

20030604 int y(int[] p){ return p[0]; } void yg(){ int x= y(new int[0]); } inline y you get int x= new int[0][0]; which does not type check

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/argument_in/TestArray.java org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/argument_out/TestArray.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/InlineMethodTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/CallInliner.java