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

Bug 346991

Summary: [ALF Editor] Problem with integer assignment and primitive types
Product: [Modeling] Papyrus Reporter: federico ciccozzi <federico.ciccozzi>
Component: CoreAssignee: Arnaud Cuccuru <arnaud.cuccuru>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: antonio.cicchetti, erwan.bousse, federico.ciccozzi, mka03004
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
error screenshot none

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).