Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370243 - [hover] Invalid closure syntax in hover
Summary: [hover] Invalid closure syntax in hover
Status: NEW
Alias: None
Product: Xtend
Classification: Tools
Component: Core (show other bugs)
Version: 2.3.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-31 11:32 EST by Sebastian Zarnekow CLA
Modified: 2013-08-26 03:57 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)