Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3.0
-
None
Description
class Foo { // "mixed type" property String getBar() {} void setBar(Object bar) {} } // assume script is @TypeChecked def foo = new Foo() // type checks foo.bar = foo.bar + "def" // does not type check // [Static type checking] - Cannot find matching method java.lang.Object#plus foo.bar += "def"