| Summary: | [Xtend] "map" method cannot be used with EMap | ||
|---|---|---|---|
| Product: | [Tools] Xtend | Reporter: | Nikolay Kasyanov <corrmage> |
| Component: | Core | Assignee: | Project Inbox <xtend-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | dennis.huebner, sebastian.zarnekow, sven.efftinge |
| Version: | 2.2.0 | ||
| Target Milestone: | M6 | ||
| Hardware: | PC | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | 376037 | ||
| Bug Blocks: | |||
|
Description
Nikolay Kasyanov
Don't you mean val ll = l.entrySet.map( e | e.key ) ? (In reply to comment #1) > Don't you mean > > val ll = l.entrySet.map( e | e.key ) > > ? thanks, this works. But isn't it strange that "map" can't be used directly with EMap class which implements List interface? Works now. val l = new BasicEMap<String, String>() val ll = l.map(e | e.key) // No error here Requested via bug 522520. -M. Requested via bug 522520. -M. |