Bug 477534 - Inconsistent completion on "Nothing" types
Summary: Inconsistent completion on "Nothing" types
Status: RESOLVED FIXED
Alias: None
Product: Acceleo
Classification: Modeling
Component: Query Language (show other bugs)
Version: 3.6.0   Edit
Hardware: PC Windows NT
: P3 normal
Target Milestone: ---   Edit
Assignee: Yvan Lussaud CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-16 03:57 EDT by Laurent Goubet CLA
Modified: 2015-12-18 08:40 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Goubet CLA 2015-09-16 03:57:25 EDT
self->

returns different completion results depending on whether "self" is typed as a Nothing, or typed as a Sequence of Nothings. Strictly speaking, this is the exact same operation since the arrow is supposed to convert the "Nothing" input as a Sequence of Nothing. We should thus have the same completion on both.

What we see though, is that completion when self is a Nothing is empty, while completion when self is a Sequence of Nothings returns a variable declaration proposal.
Comment 1 Eclipse Genie CLA 2015-09-16 03:59:55 EDT
New Gerrit change created: https://git.eclipse.org/r/56057
Comment 2 Laurent Goubet CLA 2015-09-16 04:00:07 EDT
https://git.eclipse.org/r/56057 contains the unit tests showing this behavior
Comment 4 Yvan Lussaud CLA 2015-12-18 08:40:07 EST
ok