Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 356985

Summary: Improper IR XML code created on this array initializer statement
Product: z_Archived Reporter: Jeff Douglas <jeffdouglas>
Component: EDTAssignee: Project Inbox <edt.compiler-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: pharmon
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Jeff Douglas CLA 2011-09-07 14:21:46 EDT
These statements don't produce correct IR XML code.


a5 int[] {1, 2, 3} = [4, 5, 6]; 
a5 int[]? {1, 2, 3} = [4, 5, 6];
Comment 1 Paul Harmon CLA 2011-09-19 16:31:02 EDT
I have added validation in DefaultBinder to prevent the use of positional properties and other initializers in a setttings block for fields that have an initializer defined
Comment 2 Lisa Lasher CLA 2011-11-09 14:16:58 EST
This defect was fixed at least 2 months ago, so I am closing.