Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346991 - [ALF Editor] Problem with integer assignment and primitive types
Summary: [ALF Editor] Problem with integer assignment and primitive types
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Arnaud Cuccuru CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-24 10:32 EDT by federico ciccozzi CLA
Modified: 2012-10-17 11:17 EDT (History)
4 users (show)

See Also:


Attachments
error screenshot (9.91 KB, image/png)
2011-05-24 10:36 EDT, federico ciccozzi CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description federico ciccozzi CLA 2011-05-24 10:32:18 EDT
Build Identifier: 20110505-1223

When trying to assign a value to an Integer variable using '=' (x = 10;), the parser gives the following error: "Right part is untyped", while it does not give any if using '+=' (x += 10;).

And moreover, which namespace should one use for accessing primitive types? (We tried 'UML::AuxiliaryTypes::PrimitiveTypes::Integer' and 'Alf::Library::PrimitiveTypes::Integer' without any success).

Reproducible: Always
Comment 1 federico ciccozzi CLA 2011-05-24 10:36:41 EDT
Created attachment 196440 [details]
error screenshot
Comment 2 Erwan Bousse CLA 2012-04-18 11:42:27 EDT
I don't have this problem on Papyrus 0.8.2 updated yesterday using the nightly repository.

Maybe it has been solved?
Comment 3 Arnaud Cuccuru CLA 2012-10-17 11:17:42 EDT
These two bugs have been fixed in 0.8.2. Note that UML primitive types are now visible without qualification.
(Sorry for the reply delay).