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

Bug 357154

Summary: Validate that getter and setter exist for @EGLProperty
Product: z_Archived Reporter: Matt Heitz <mheitz>
Component: EDTAssignee: Project Inbox <edt.compiler-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: pharmon
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Matt Heitz CLA 2011-09-08 15:59:22 EDT
In the program below, there should be an error on the declaration of variable a1.  When both the getMethod and setMethod fields of @EGLProperty aren't specified, their values are implicitly "get" or "set" plus the name of the variable.  We should validate that functions getA1 and setA1 exist.

If I explicitly specify the getMethod and/or setMethod, we do validate that the functions exist.


package x;

program propsSimple

	a1 int { @EGLProperty };
	
	function main()
		a1 = 2;
	end
end
Comment 1 Paul Harmon CLA 2011-10-26 10:23:22 EDT
Already done
Comment 2 Matt Heitz CLA 2011-11-01 10:55:23 EDT
Verified.