Fix use of add-type-expr from commit 5d835ded.
original commit: 0aae2c866f2906c1b4111aff438d3f931afa43f7
This commit is contained in:
parent
a4cec9ce13
commit
c903ffe15c
|
@ -548,7 +548,7 @@
|
|||
[_ (int-err "bad expected: ~a" expected)])]
|
||||
;; special case for `-' used like `sub1'
|
||||
[(#%plain-app (~and op (~literal -)) v (~and arg2 ((~literal quote) 1)))
|
||||
(add-typeof-expr #'arg2 -Nat)
|
||||
(add-typeof-expr #'arg2 (ret -Nat))
|
||||
(match-let ([(tc-result1: t) (single-value #'v)])
|
||||
(if (subtype t -ExactPositiveInteger)
|
||||
(ret -Nat)
|
||||
|
|
Loading…
Reference in New Issue
Block a user