Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
In this example
class F { F(int i){} } def foo() { F f = [1] }
The static compiler produces a call to castToType to let the runtime transform [1] into F. Because of performance this should not be done.