well the difference in groovy I think is that groovy somehow is evaluating it later, somehow it's much more eagerly evaluated by kotlin instead of only being evaluated when I do a
gradle publish
g
gildor
12/21/2017, 9:14 AM
I think that groovy doesn’t care about nullability and saves no to non-nullable field
gildor
12/21/2017, 9:15 AM
And this configuration is not lazy in groovy
x
xenoterracide
12/21/2017, 9:18 AM
could be
xenoterracide
12/21/2017, 9:18 AM
I don't know enough about it honestly
g
gildor
12/21/2017, 9:27 AM
Groovy and Kotlin work similar here, kotlin just doesn’t allow you to assign null to non-nullable property