Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314444 - [Xtend Editor] no code completion for function arguments that are list
Summary: [Xtend Editor] no code completion for function arguments that are list
Status: CLOSED WONTFIX
Alias: None
Product: M2T
Classification: Modeling
Component: Xpand (show other bugs)
Version: 1.0.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-26 08:02 EDT by Rubén Porras Campo CLA
Modified: 2020-04-30 13:53 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rubén Porras Campo CLA 2010-05-26 08:02:32 EDT
Build Identifier: I20100513-1500

if you type this

addFieldsToGraph(List [Field] l) :
  l.
;

and ask for code completion after the 'l.', there is no code completion available.

The problem seems to be the function definition, something like

addFieldsToGraph(Field l) :
  l.
;

offers code completion for l

Reproducible: Always

Steps to Reproduce:
see details.
Comment 1 Rubén Porras Campo CLA 2010-05-26 08:05:38 EDT
Note: the code is correct, and the following compiles:

addFieldsToGraph(List [Field] l) :
  calcGraphAddField(l.first().getName()) ->
  addFieldsToGraph(l.withoutFirst())
;
Comment 2 Karsten Thoms CLA 2020-04-30 13:53:30 EDT
This is a batch close of open M2T Xpand bugs. It is not planned work on this component in the foreseeable future. If you think this issue needs to be solved and you plan to contribute a fix then feel free to reopen it.