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:
@@ -13,7 +13,7 @@
|
||||
;; 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)
|
||||
@@ -21,7 +21,7 @@
|
||||
(import worldgen)
|
||||
(import fastnoise)
|
||||
(import rivers)
|
||||
(import terra)
|
||||
(pub import terra)
|
||||
|
||||
(pub define MAX-ROCKS 32)
|
||||
;;; A column entry below any rock: the mantle at y = 0.
|
||||
|
||||
Reference in New Issue
Block a user