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

Bug 314444

Summary: [Xtend Editor] no code completion for function arguments that are list
Product: [Modeling] M2T Reporter: Rubén Porras Campo <Ruben.PorrasCampo>
Component: XpandAssignee: Project Inbox <m2t.xpand-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 1.0.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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.