Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
With the following code :
int method() { 1 } void test() { int i = method() println i } test()
The compiler produces an uncessary castToType() call to convert a boxed int (aka Integer) to Object.