kpgalligan
02/16/2020, 7:26 PMval
properties with @SharedImmutable
work as expected, but if you use a var
, the @SharedImmutable
doesn’t apply. Logically that makes sense, but it seems like that may be confusing in situations where people try it. I think it would be better to have it frozen, or maybe a compiler failure, but right now it seems like the annotation is simply ignored. Thoughts?basher
02/16/2020, 7:41 PMbasher
02/16/2020, 7:41 PM