Bug 9398 - Compiler error with double array
Summary: Compiler error with double array
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows NT
: P1 normal (vote)
Target Milestone: 2.0 M3   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-11 11:04 EST by Martin Möbius CLA
Modified: 2002-02-12 06:13 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Möbius CLA 2002-02-11 11:04:12 EST
I forgot the [][] after double
Try to move your mouse about integer inside the method.
Try to compile this class.

public class CompilerError {
	/**test*/
	int integer = 0;

	public void test() {
		double size = { {}, {}};
		System.out.println(integer );
	}
}
Comment 1 Philipe Mulet CLA 2002-02-11 14:39:08 EST
Thanks ! We had a bug in the error reporting code (trying to compute the leaf 
type of the array initializer).

Will be in next integration build.
Fixed.