Hi Graeme,

     Here is my test code, which fails:

trait A {
    public static String m() { return '123' }
}

A.m()

error messages:

groovy.lang.MissingMethodException: No signature of method: static A.m() is
applicable for argument types: () values: []
Possible solutions: is(java.lang.Object), any(), dump(),
any(groovy.lang.Closure), use([Ljava.lang.Object;), tap(groovy.lang.Closure)

        at ConsoleScript7.run(ConsoleScript7:5)



--
View this message in context: 
http://groovy.329449.n5.nabble.com/Traits-and-protected-properties-tp5738002p5738025.html
Sent from the Groovy Dev mailing list archive at Nabble.com.

Reply via email to