Fix tests for new type name declaration.
original commit: 2dd9a43d1b3fe4d3b64ccee5c88db4cb58d7f3f8
This commit is contained in:
parent
1f7d88e114
commit
60c565f64e
|
@ -29,6 +29,8 @@
|
|||
[ty (cdr pr)])
|
||||
(register-resolved-type-alias (datum->syntax #'here (syntax->datum nm)) ty)))
|
||||
|
||||
(dynamic-require '(submod typed-racket/base-env/base-types #%type-decl) #f)
|
||||
|
||||
(define-syntax (run-one stx)
|
||||
(syntax-case stx ()
|
||||
[(_ ty) (syntax/loc stx
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
(provide typecheck-tests g tc-expr/expand)
|
||||
|
||||
(b:init) (n:init) (initialize-structs) (initialize-indexing)
|
||||
(dynamic-require '(submod typed-racket/base-env/base-types #%type-decl) #f)
|
||||
|
||||
(define N -Number)
|
||||
(define B -Boolean)
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
;; the below requires are needed since they provide identifiers
|
||||
;; that may appear in the residual program
|
||||
"utils/utils.rkt"
|
||||
(for-syntax "utils/utils.rkt")
|
||||
"utils/any-wrap.rkt" unstable/contract)
|
||||
|
||||
(provide (rename-out [module-begin #%module-begin]
|
||||
|
|
Loading…
Reference in New Issue
Block a user