pub-import the modules a unit's interface holds by value

sexc now checks that importers can see every type a pub form holds,
and asks for pub where the type comes from another import.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-09 18:05:08 +03:00
parent a3a68df048
commit 28f0e8acac
10 changed files with 22 additions and 22 deletions

View File

@@ -13,14 +13,14 @@
;; TODO sex#58: import only the modules used here once an import brings
;; the types its interface needs; until then, every dependency, in
;; dependency order.
(import maps)
(pub import maps)
(import lcg)
(import noise)
(import shape)
(import json)
(import worldgen)
(import fastnoise)
(import rivers)
(pub import worldgen)
(pub import fastnoise)
(pub import rivers)
;;; NewSimplexNoiseLayer --------------------------------------------