Skip to content

Commit 67d3896

Browse files
committed
dfmc-modeling: Improve access to meta-object slots
* sources/dfmc/modeling/objects.dylan (<implementation-class>): Add a default initialization value to the direct-superclasses slot so that the compiler will consider it as guaranteed-initialized.
1 parent f6e44d9 commit 67d3896

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sources/dfmc/modeling/objects.dylan

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,7 @@ define concrete primary &class <implementation-class> (<object>)
456456
init-value: default-class-constructor;
457457

458458
lazy &slot direct-superclasses :: <simple-object-vector>,
459+
init-value: #[],
459460
init-keyword: superclasses:;
460461

461462
// RCPL fast subclass slots, markt, 2-Apr-97

0 commit comments

Comments
 (0)