Fix check-unreachable-code? mode in TR

original commit: 07c944f337345932544bcbfce6956fe3d175c130
This commit is contained in:
Asumu Takikawa 2014-06-11 16:32:02 -04:00
parent 2bce000075
commit 0058d5d0de

View File

@ -25,7 +25,7 @@
;; otherwise, this code is unreachable
;; and the resulting type should be the empty type
[(check-unreachable-code?)
(tc-expr/check expr Univ)
(tc-expr expr)
(ret (Un))]
[else (ret (Un))]))
(match (single-value tst)