Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356367 - No validation error on dataItem which is not supported in .7
Summary: No validation error on dataItem which is not supported in .7
Status: CLOSED INVALID
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-31 12:25 EDT by broy2 CLA
Modified: 2017-02-23 14:18 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description broy2 CLA 2011-08-31 12:25:00 EDT
Build Identifier: 20110831

Get no validation error on:

dataItem newDataItem string					
end 

Since there is no error, a program using the dataItem gens and executes.
Looks like to me it's supported.  :-)


Reproducible: Always
Comment 1 Paul Harmon CLA 2011-09-19 08:45:55 EDT
I am not sure why this would not be supported. We support all primitive types (except any) as the type for data items.
Comment 2 broy2 CLA 2011-09-20 11:35:43 EDT
Somebody needs to rule on whether dataItem is supported or not.
With the 20110920 build, it's still in content assist, there is no validation error, and I can gen and run a program with dataItems.
Comment 3 Matt Heitz CLA 2011-09-20 13:48:50 EDT
The plan for DataItem in EDT is to allow its type to be anything, not just primitive types like in RBD.  That work didn't make the cut for 0.7, so I've been saying we don't support DataItems.  But after a few conversations we have decided to allow DataItems in a limited way.  It's like RBD, the type has to be a primitive, and the type can't be any.  There's an additional restriction for EDT 0.7 that annotations on the DataItem will be ignored.  The workaround is to annotate the variable whose type comes from the DataItem.
Comment 4 broy2 CLA 2011-09-22 09:27:25 EDT
Change in design.