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

Bug 370243

Summary: [hover] Invalid closure syntax in hover
Product: [Tools] Xtend Reporter: Sebastian Zarnekow <sebastian.zarnekow>
Component: CoreAssignee: Project Inbox <xtend-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: Holger.Schill, moritz.eysholdt
Version: 2.3.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Sebastian Zarnekow CLA 2012-01-31 11:32:59 EST
val list = <String>newArrayList
list.map(s | s.toUpperCase )

The hover info for #map shows

ListExtensions::map(list, s | s.toUpperCase)

but should be

ListExtensions::map(list, [s | s.toUpperCase])
Comment 1 Sebastian Zarnekow CLA 2012-01-31 14:01:47 EST
We should focus on more important issues for M6.
Comment 2 Holger Schill CLA 2012-05-29 11:19:40 EDT
Currently the hover shows:

<String, String> List<String> map(List<String> original, Function1<? super String, ? extends String> transformation)