Two modules importing each other with pub hand the unit its own interface back, and its types were defined twice.
6 lines
119 B
Scheme
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)))
|