| Summary: | [Xtend] Missleading feature-linking error message | ||
|---|---|---|---|
| Product: | [Tools] Xtend | Reporter: | Sven Efftinge <sven.efftinge> |
| Component: | Core | Assignee: | Project Inbox <xtend-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | dennis.huebner, sebastian.zarnekow |
| Version: | 2.2.0 | Flags: | sven.efftinge:
kepler+
|
| Target Milestone: | M6 | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
| Bug Depends on: | 376037 | ||
| Bug Blocks: | |||
|
Description
Sven Efftinge
I have renamed sortBy to sort in the library. So the example doesn't work anymore :-) But the problem is still there. forget my last comment. The function is still named 'sortBy' and the problem can therefore reproduced like described in the initial comment. Preliminary scheduled for 2.0RC1 postponed to SR1 not 2.1 With the given example and the actual state I got the following marker:
Incompatible types. Expected Comparator<? super Object> but was (Object)=>String
def test343091() {
val myList = newArrayList()
myList.sort( e | e.toString )//ERROR
}
Was fixed in the meantime Requested via bug 522520. -M. |