Community
Participate
Working Groups
Build Identifier: I downloaded the lastest xtext 2.2.x, found it support support static methods now. So I can define a class like: class A { def static hello() {} } But I can't invoke this static method from another class! It reports: Couldn't resolve reference to JvmIdentifiableElement 'hello'. Couldn't resolve reference to JvmIdentifiableElement 'A'. And it can't invoke a static method in a Java class. Reproducible: Always
How did you try to invoke that method?
Btw: the expected invocation syntax would be A::hello
--- class Bar { def static hello() {} } --- invoked by --- class Foo { def foo() { Bar::hello() } } --- works for me.