Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356032 - Array size not stored in IR
Summary: Array size not stored in IR
Status: CLOSED WONTFIX
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-08-28 14:20 EDT by Scott Greer CLA
Modified: 2017-02-23 14:17 EST (History)
1 user (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-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