Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360879 - Add compile-time validation for null vars assigned field values
Summary: Add compile-time validation for null vars assigned field values
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: Paul Harmon CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-13 14:02 EDT by Ben Margolis CLA
Modified: 2017-02-23 14:14 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 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