Support define-namespace-anchor
in TR
original commit: 03855eb53248f6de46ccfaa71b001a0375156e50
This commit is contained in:
parent
46b8e6668d
commit
5e9eedd41c
|
@ -217,4 +217,6 @@
|
|||
(-> -FlVector (-seq -Flonum))]
|
||||
[(make-template-identifier 'in-extflvector* 'racket/extflonum)
|
||||
(-> -ExtFlVector (-seq -ExtFlonum))]
|
||||
[(make-template-identifier 'make-namespace-anchor 'racket/private/namespace)
|
||||
(-> -Variable-Reference -Namespace-Anchor)]
|
||||
)
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
#lang typed/racket/base
|
||||
|
||||
;; Tests namespace anchors. Not a unit test because `define-namespace-anchor`
|
||||
;; only works at the top-level or in a module.
|
||||
|
||||
(: x Namespace-Anchor)
|
||||
(define-namespace-anchor x)
|
Loading…
Reference in New Issue
Block a user