opal icon indicating copy to clipboard operation
opal copied to clipboard

Immutability analysis is unsound for constructors

Open errt opened this issue 2 years ago • 0 comments

The field immutability analysis currently ignores all assignments in constructors, but if the object escapes the constructor or a field is read inside the constructor before the assignment, a different field value can be observed.

errt avatar Aug 31 '23 13:08 errt