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:
parent
165a2afa5b
commit
766bd83a98
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user