3 ms·
Your first point is incorrect, inline classes can have fields that are regular reference types.
by efge 7y ago
Your first point is incorrect, inline classes can have fields that are regular reference types.
- cobbzilla 7y agoInteresting; I must have “over-read” the restriction. You are correct. Re-reading the doc, the restriction is that all fields of a value type must be final, because value objects do not have identity.