The following code fails with 'Cannot convert Class to Foo'. It works if I
remove @Typed, and of-course, if I instead do 'if(cls == Foo)'
-----------------------------------
@Typed package test
class Foo{}; class Bar{}
println getAdditionalPropsInfo(Foo)
Map getAdditionalPropsInfo(Class cls) {
switch(cls) {
case Foo:
return [bar: Bar]
}
}
-----------------------------------
Original issue reported on code.google.com by roshanda...@gmail.com on 15 Mar 2011 at 7:40
Original issue reported on code.google.com by
roshanda...@gmail.com
on 15 Mar 2011 at 7:40