> On Jul 16, 2026, at 3:32 AM, Remi Forax <[email protected]> wrote: > > BTW, I have asked several time and nobody answer (or I do not remember?), why > the attribute InnerClass has a modifier bit for "value". > Or rephrased, why the compiler needs to know if a nested classes is a value > class or not. > In the previous iteration, when creating a value object was different than > creating an identity object, the compiler has to be aware if a nested class > was a value class or not, but now ?
We can discuss further (probably a better fit for valhalla-spec-experts), but I think the motivation was a simple as: the InnerClasses attribute memorializes all the language flags, and `value` is a language flag.
