parent
ebef94435c
commit
c29e072f7e
|
@ -2415,4 +2415,25 @@ case of module-leve bindings; it doesn't cover local bindings.
|
||||||
|
|
||||||
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
(module export-of-force-has-three-different-nominals racket/base
|
||||||
|
(require racket
|
||||||
|
racket/promise
|
||||||
|
racket/private/promise)
|
||||||
|
(provide force result)
|
||||||
|
|
||||||
|
(define-values (result other)
|
||||||
|
(module->exports (variable-reference->resolved-module-path
|
||||||
|
(#%variable-reference)))))
|
||||||
|
|
||||||
|
(let ([l (dynamic-require ''export-of-force-has-three-different-nominals 'result)])
|
||||||
|
(define (same-mod? a b) (equal? (module-path-index-resolve a)
|
||||||
|
(module-path-index-resolve b)))
|
||||||
|
(define b (cadr (assoc 'force (cdr (assoc 0 l)))))
|
||||||
|
(test 3 length b)
|
||||||
|
(test #f same-mod? (car b) (cadr b))
|
||||||
|
(test #f same-mod? (cadr b) (caddr b))
|
||||||
|
(test #f same-mod? (car b) (caddr b)))
|
||||||
|
|
||||||
|
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
(report-errs)
|
(report-errs)
|
||||||
|
|
|
@ -345,7 +345,7 @@
|
||||||
id
|
id
|
||||||
(module-binding-update ok-binding
|
(module-binding-update ok-binding
|
||||||
#:extra-nominal-bindings
|
#:extra-nominal-bindings
|
||||||
(cons ok-binding
|
(cons b
|
||||||
(module-binding-extra-nominal-bindings b)))
|
(module-binding-extra-nominal-bindings b)))
|
||||||
phase))
|
phase))
|
||||||
(cond
|
(cond
|
||||||
|
|
|
@ -22269,7 +22269,7 @@ static const char *startup_source =
|
||||||
" ok-binding_0)"
|
" ok-binding_0)"
|
||||||
"((temp160_0)"
|
"((temp160_0)"
|
||||||
"(cons"
|
"(cons"
|
||||||
" ok-binding_0"
|
" b_64"
|
||||||
"(module-binding-extra-nominal-bindings"
|
"(module-binding-extra-nominal-bindings"
|
||||||
" b_64))))"
|
" b_64))))"
|
||||||
"(module-binding-update48.1"
|
"(module-binding-update48.1"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user