We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c94c96a commit c72b158Copy full SHA for c72b158
src/mezz/sys-base.reb
@@ -129,10 +129,16 @@ make-module*: func [
129
; Module is an object during its initialization:
130
obj: make object! 7 ; arbitrary starting size
131
132
- if find spec/options 'extension [
133
- append obj 'lib-base ; specific runtime values MUST BE FIRST
+ either find spec/options 'extension [
+ bind/new [
134
+ lib-base ; specific runtime values MUST BE FIRST
135
+ lib-file
136
+ lib-local
137
+ words
138
+ ] obj
139
+ ][
140
+ append obj 'lib-local ; local import library for the module
141
]
- append obj 'lib-local ; local import library for the module
142
143
unless spec/type [spec/type: 'module] ; in case not set earlier
144
0 commit comments