repro align bug

This commit is contained in:
🪞👃🪞 2025-01-10 19:45:13 +01:00
parent d58ac8de9a
commit e460ceaf48
3 changed files with 22 additions and 16 deletions

View file

@ -15,6 +15,7 @@ const EDN: &'static [&'static str] = &[
include_str!("edn09.edn"),
include_str!("edn10.edn"),
include_str!("edn11.edn"),
include_str!("edn12.edn"),
];
fn main () -> Usually<()> {

View file

@ -1,17 +1,11 @@
(bsp/s
(bsp/e
(align/nw (fixed/xy 5 3 :hello))
(bsp/e
(align/n (fixed/xy 5 3 :hello))
(align/ne (fixed/xy 5 3 :hello))))
(bsp/s
(bsp/e
(align/w (fixed/xy 5 3 :hello))
(bsp/e
(align/c (fixed/xy 5 3 :hello))
(align/e (fixed/xy 5 3 :hello))))
(bsp/e
(align/sw (fixed/xy 5 3 :hello))
(bsp/e
(align/s (fixed/xy 5 3 :hello))
(align/se (fixed/xy 5 3 :hello))))))
(bsp/e (align/nw (fixed/xy 5 3 :hello))
(bsp/e (align/n (fixed/xy 5 3 :hello))
(align/ne (fixed/xy 5 3 :hello))))
(bsp/s
(bsp/e (align/w (fixed/xy 5 3 :hello))
(bsp/e (align/c (fixed/xy 5 3 :hello))
(align/e (fixed/xy 5 3 :hello))))
(bsp/e (align/sw (fixed/xy 5 3 :hello))
(bsp/e (align/s (fixed/xy 5 3 :hello))
(align/se (fixed/xy 5 3 :hello))))))

11
tek/examples/edn12.edn Normal file
View file

@ -0,0 +1,11 @@
(bsp/s
(bsp/e (fixed/xy 5 3 (align/nw :hello))
(bsp/e (fixed/xy 5 3 (align/n :hello))
(fixed/xy 5 3 (align/ne :hello))))
(bsp/s
(bsp/e (fixed/xy 5 3 (align/w :hello))
(bsp/e (fixed/xy 5 3 (align/c :hello))
(fixed/xy 5 3 (align/e :hello))))
(bsp/e (fixed/xy 5 3 (align/sw :hello))
(bsp/e (fixed/xy 5 3 (align/s :hello))
(fixed/xy 5 3 (align/se :hello))))))