diff --git a/TODO.FACTOR.txt b/TODO.FACTOR.txt index 6ada5d8e5e..3d4a59d61a 100644 --- a/TODO.FACTOR.txt +++ b/TODO.FACTOR.txt @@ -8,18 +8,18 @@ - support USING: - special completion for USE:/IN: - vectors: ensure its ok with bignum indices -- if gadgets are moved, added or deleted, update hand. - code gc - type inference fails with some assembler words; displaced, register and other predicates need to inherit from list not cons, and need stronger branch partial eval - print warning on null class - optimize away dispatch -- layouts with gaps - alignment of gadgets inside their bounding boxes needs thought - faster completion - ppc register decls +- begin-scan, next-object, end-scan primitives +- each-object, each-slot combinators - port leak - references primitive - ditch % for tuples? diff --git a/examples/gadget-test.factor b/examples/gadget-test.factor index dd53fab69b..7a46689dc9 100644 --- a/examples/gadget-test.factor +++ b/examples/gadget-test.factor @@ -66,8 +66,8 @@ USE: words : make-shapes ( -- ) f world get set-gadget-children - 100 20 0 0 "pile" set - 0 0 0 0 "shelf" set + default-gap "pile" set + default-gap "shelf" set "Close" [ "dialog" get world get remove-gadget ]