removed subtle latent bug in tc-let-unit

there was a values mismatch bug hiding in here that hadn't ever (to my knowledge) been triggered -- perhaps this code is dead?
This commit is contained in:
Andrew Kent 2015-03-01 12:27:51 -05:00
parent 165a2afa5b
commit 766bd83a98

View File

@ -72,8 +72,9 @@
;; type is a type variable) so create props about n
[else (list (-or (-and (-not-filter (-val #f) n) f+)
(-and (-filter (-val #f) n) f-)))]))))]
;; amk: does this case ever occur?
[(list (tc-result: e-ts (NoFilter:) _) ...)
(values e-ts null)]))))
(values e-ts (make-list (length e-ts) -empty-obj) null)]))))
;; extend the lexical environment for checking the body
;; with types and potential aliases
(with-lexical-env/extend-types+aliases