fixing namespacing issues
This commit is contained in:
parent
d8fd834442
commit
6a35aae56e
|
@ -174,12 +174,11 @@
|
|||
[i (in-naturals)])
|
||||
(string-append
|
||||
(format "modrec.getNamespace().set(~s,exports[~s]);\n"
|
||||
(symbol->string (ModuleProvide-external-name modprovide))
|
||||
(symbol->string (ModuleProvide-internal-name modprovide)))
|
||||
;(format "modrec.prefix[~a]=exports[~s];\n"
|
||||
; i
|
||||
; (symbol->string (ModuleProvide-external-name modprovide))))
|
||||
))))
|
||||
(symbol->string (ModuleProvide-internal-name modprovide))
|
||||
(symbol->string (ModuleProvide-external-name modprovide)))
|
||||
(format "modrec.prefix[~a]=exports[~s];\n"
|
||||
i
|
||||
(symbol->string (ModuleProvide-external-name modprovide)))))))
|
||||
|
||||
(define (get-prefix-code bytecode)
|
||||
(format "modrec.prefix=[~a];modrec.prefix.names=[~a];modrec.prefix.internalNames=[~a];"
|
||||
|
|
Loading…
Reference in New Issue
Block a user