Fix errors in a9ae85d3
.
This commit is contained in:
parent
a9ae85d3fd
commit
0678743e3d
|
@ -9,7 +9,8 @@
|
|||
(utils tc-utils)
|
||||
(env type-name-env row-constraint-env)
|
||||
(rep core-rep rep-utils type-mask values-rep)
|
||||
(types resolve union utils printer abbrev)
|
||||
(types resolve union utils printer)
|
||||
(only-in (types abbrev) -Dead-Code)
|
||||
(prefix-in t: (types abbrev numeric-tower subtype))
|
||||
(private parse-type syntax-properties)
|
||||
racket/match racket/syntax racket/list
|
||||
|
|
|
@ -117,7 +117,7 @@
|
|||
1)
|
||||
(check-equal? (if #true 1 `#s(struct ,(cast 2 Integer) ,(cast 3 Integer)))
|
||||
1)
|
||||
(check-true ;; check that this doesn't have an internal error
|
||||
(check-not-false ;; check that this doesn't have an internal error
|
||||
(λ () (begin
|
||||
(error "hi")
|
||||
(cast (string->number "42") Integer))))
|
||||
|
|
Loading…
Reference in New Issue
Block a user