]> gitweb.factorcode.org Git - factor.git/commitdiff
compiler.tree.propagation.transforms: only partial-eval struct-class in memory>struct
authorJohn Benediktsson <mrjbq7@gmail.com>
Sat, 15 Jan 2022 03:53:00 +0000 (19:53 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sat, 15 Jan 2022 03:53:00 +0000 (19:53 -0800)
basis/compiler/tree/propagation/transforms/transforms.factor

index 6790139d0a41cda303649c51e289e4616a55275e..f27e883960ed20fc2305e9fef0125621bc4445fd 100644 (file)
@@ -202,7 +202,7 @@ ERROR: bad-partial-eval quot word ;
 \ new [ inline-new ] 1 define-partial-eval
 
 \ memory>struct [
-    dup tuple-class? [
+    dup struct-class? [
         dup tuple-layout
         [ add-depends-on-tuple-layout ]
         [ [ "boa-check" word-prop [ ] or ] dip ] 2bi