Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356985 - Improper IR XML code created on this array initializer statement
Summary: Improper IR XML code created on this array initializer statement
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-07 14:21 EDT by Jeff Douglas CLA
Modified: 2017-02-23 14:19 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.