Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 458269 - [content assist] Wrong content assist context computed for alternatives with multiple cardinality
Summary: [content assist] Wrong content assist context computed for alternatives with ...
Status: VERIFIED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.7.3   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: v2.8
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-23 10:22 EST by Sven Efftinge CLA
Modified: 2015-02-17 07:30 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 Sven Efftinge CLA 2015-01-23 10:22:52 EST
Given a grammar like this :

Foo : 
  'foo' '{'
     ( as+=A | bs+=B )*
  '}';

A :
  'a' name=ID 'a-end';

B : 
  'b' name=ID 'b-end';

And the following file :

foo {
  a bla a-end
  <cursor>
}

There will be no proposals for keyword 'b'.
Comment 1 Sven Efftinge CLA 2015-01-23 10:43:28 EST
pushed to review https://git.eclipse.org/r/#/c/40243/