We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
if-else-false-to-and
1 parent 94d1c6c commit 0f29861Copy full SHA for 0f29861
typed-racket-lib/typed-racket/static-contracts/combinators/function.rkt
@@ -149,7 +149,7 @@
149
(and (and (not rest-arg) (null? (append mand-kw-args mand-args opt-kw-args opt-args)) typed-side?)
150
;; currently we only handle this trivial case
151
;; we could probably look at the actual kind of `range-args` as well
152
- (if (not range-args) 'flat #f)))
+ (and (not range-args) 'flat)))
153
154
155
(define (function-sc-constraints v f)
0 commit comments