forked from alex-eg/sex
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.
This commit is contained in:
2
sexc.scm
2
sexc.scm
@@ -243,6 +243,8 @@ status, which is ours to pass on."
|
||||
;;; The unit's own forms are checked for what its importers will need,
|
||||
;;; the prelude's not: every unit has those
|
||||
(define (semantic-process-forms unit-forms input-source)
|
||||
(when (string? input-source)
|
||||
(mark-imported! (to-absolute-pathname input-source)))
|
||||
(let ((process (lambda ()
|
||||
(check-public-interface unit-forms)
|
||||
(semen-process (append prelude unit-forms)))))
|
||||
|
||||
Reference in New Issue
Block a user