Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
import groovy.transform.Immutable @Immutable class Thing { String value = "default" } def thing = new Thing() assert thing.value == "default"
Gives:
Assertion failed: assert thing.value == "default" | | | | null false Thing(null)