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

Bug 356032

Summary: Array size not stored in IR
Product: z_Archived Reporter: Scott Greer <greer>
Component: EDTAssignee: Project Inbox <edt.mofmodel-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: pharmon
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Scott Greer CLA 2011-08-28 14:20:49 EDT
This statement in an FVT testcase

   check boolean[3];

is stored in the IR as 

			<statements ID="360" eClass="org.eclipse.edt.mof.egl.LocalVariableDeclarationStatement" >
				<annotations ID="361" eClass="dynMof:org.eclipse.edt.mof.egl.Annotation:EGL_Location" len="i:17" off="i:2061" line="i:75" />
				<container IDREF="28"/>
				<expr ID="362" eClass="org.eclipse.edt.mof.egl.DeclarationExpression" >
					<annotations ID="363" eClass="dynMof:org.eclipse.edt.mof.egl.Annotation:EGL_Location" len="i:17" off="i:2061" line="i:75" />
					<fields ID="364" eClass="org.eclipse.edt.mof.egl.Field" name="check" type="egl:egl.lang.egllist&lt;eglx.lang.eboolean&gt;" isNullable="false" isStatic="false" isAbstract="false" hasSetValuesBlock="false" isImplicit="false" isSystemField="false" >
						<annotations ID="365" eClass="dynMof:org.eclipse.edt.mof.egl.Annotation:EGL_Location" len="i:5" off="i:2061" line="i:75" />
						<container IDREF="28"/>
					</fields>
				</expr>
			</statements>


The initial array size is missing.
Comment 1 Paul Harmon CLA 2011-08-29 08:21:13 EDT
as per Bug 355743, initial size is no longer valid on array definitions.
Comment 2 Scott Greer CLA 2011-08-29 17:20:14 EDT
Ok