Re:The Road to Valhalla
by efge on Friday December 06, 2019 @09:27PM
(#21728052)
Your first point is incorrect, inline classes can have fields that are regular reference types.
[ Parent
| on HN ]
Interesting; 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.