Hello,
I was looking into that, the first (maybe only) reason is that the new class builder
can not make anonymous subclasses of classes with ByteLayout
Is that really a bug?
Should it really be possible to subclass a class that has a byte layout with a class that has a fixed layout?
Because:
AnonymousClassInstaller make: [ :builder |
builder superclass: NBExternalTypeValue ]
raises IncompatibleLayout but:
AnonymousClassInstaller make: [ :builder |
builder
superclass: NBExternalTypeValue;
layoutClass: ByteLayout ]
doesn't.
A simple fix is to take the same layout class than the superclass by default instead of FixedLayout, isn't it?