Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346681 - Operators for compound assignments missing from IRs
Summary: Operators for compound assignments missing from IRs
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-05-20 10:03 EDT by Scott Greer CLA
Modified: 2017-02-23 14:16 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Greer CLA 2011-05-20 10:03:11 EDT
Statements such as 

   counter -= 1;


are manifest in the IRs as follows:

					<statements ID="312" eClass="org.eclipse.edt.mof.egl.AssignmentStatement" >
						<annotations ID="313" eClass="dynMof:org.eclipse.edt.mof.egl.Annotation:EGL_Location" len="i:13" off="i:2337" line="i:92" />
						<functionMember IDREF="20"/>
						<expr ID="314" eClass="org.eclipse.edt.mof.egl.Assignment" >
							<annotations ID="315" eClass="dynMof:org.eclipse.edt.mof.egl.Annotation:EGL_Location" len="i:12" off="i:2337" line="i:92" />
							<LHS ID="316" eClass="org.eclipse.edt.mof.egl.MemberName" id="counter" >
								<annotations ID="317" eClass="dynMof:org.eclipse.edt.mof.egl.Annotation:EGL_Location" len="i:7" off="i:2337" line="i:92" />
								<member IDREF="40"/>
							</LHS>
							<RHS ID="318" eClass="org.eclipse.edt.mof.egl.IntegerLiteral" value="1" isNegated="false" >
								<annotations ID="319" eClass="dynMof:org.eclipse.edt.mof.egl.Annotation:EGL_Location" len="i:1" off="i:2348" line="i:92" />
							</RHS>
						</expr>
					</statements>
Comment 1 Paul Harmon CLA 2011-06-21 09:30:08 EDT
i have updated the mof (egl and java) model to add operator to Assignment
Comment 2 Scott Greer CLA 2011-08-04 20:52:36 EDT
Verified.