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

Bug 360879

Summary: Add compile-time validation for null vars assigned field values
Product: z_Archived Reporter: Ben Margolis <margolis>
Component: EDTAssignee: Paul Harmon <pharmon>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Ben Margolis CLA 2011-10-13 14:02:08 EDT
The following declarations are not valid:

    myDictionary Dictionary?{ID = 45};
    b Button? {text = "abc"};   

    // is also an error because of the leftmost set-values block.
    b Button? {text = "abc"}  = new Button {text = "xyz"};
Comment 1 Paul Harmon CLA 2011-10-14 12:22:38 EDT
I have updated the following to fix this:

DefaultBinder
IProblemRequestor
EGLValidationResources.properties
Comment 2 Ben Margolis CLA 2011-10-23 22:52:17 EDT
verified