Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.4.9
-
None
Description
see the following example:
import groovy.transform.CompileStatic @CompileStatic def foo() { Map<String, String> strongMap Map<String, String> elvisMap = strongMap ?: [:] // won't compile Map<String, String> initStrongMap = [:] // compiles ok }