Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.4.5
-
None
-
None
Description
Method heavyOperation() will be called twice. If we remove @CompileStatic, problem is solved.
@CompileStatic List<String> invokeCompileStatic(Service service){ service.heavyOperation()*.toString() }
A test which confirms it, can be found in my Gist