Description
I defined a method like:
Integer 'int'(String name) { def o = get(name) if(o instanceof Number) { return o.intValue() } else if(o != null) { try { return Integer.parseInt(o.toString()) } catch (NumberFormatException e) { } } }
This compiles fine in Groovy but blows up with the joint compiler with an error like:
[groovyc] public java.lang.Integer byte(java.lang.String name) { return (java.lang.Integer)null;}