| Summary: | [Xtend] highlighting of extension methods | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Sven Efftinge <sven.efftinge> |
| Component: | Xtext | Assignee: | Holger Schill <Holger.Schill> |
| Status: | CLOSED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | Holger.Schill, sebastian.zarnekow |
| Version: | 2.2.0 | Flags: | sven.efftinge:
juno+
|
| Target Milestone: | M5 | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
Unfortunately I am not able to reproduce this. With this example the invocation of doStuff is highlighted.
Xtend-class
package foo
import com.google.inject.Inject
class Foo {
@Inject extension Bar
def foo(String it){
doStuff <--- is highlighted as extension
}
}
Java-class
package foo;
public class Bar {
public String doStuff(String a){
return a;
}
}
Sven, could you please attach your example?
This was due to an unintuitive linking resolution. Bug #367058 should help with this. Closing all bugs that were set to RESOLVED before Neon.0 Closing all bugs that were set to RESOLVED before Neon.0 |
Simple feature calls are sometimes not get highlighted as extension method. @Inject extension MyExtension // defines doStuff(String x) def foo(String it) { doStuff //not colored as extension method }