Files
sex/tests/modules/cycle/b.sex
alex-eg ca4ac949d8 count a unit among its own imports
Two modules importing each other with pub hand the unit its own
interface back, and its types were defined twice.
2026-10-19 21:56:28 +03:00

6 lines
119 B
Scheme

(pub import a)
(pub record rb ((a ra) (y int)))
(pub fn make-rb ((x int) (y int)) rb (return #(rb : (make-ra x) y)))