Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.4.12
-
None
Description
Probably code below should be compiled well in CompileStatic:
def m() { def a = 1 Integer[] b = [a] // error: 'a' treats like an Object }
and
def m() { def row = ["", "", ""] def (left, right) = [row[0], row[1]] left.toUpperCase() // error: 'left' treats like an Object }
Attachments
Issue Links
- links to