Files
sex/tests/modules/cycle/b.sex
alex-eg b285174a22 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-27 01:31:37 +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)))