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.
1 parent 6247b62 commit d97427fCopy full SHA for d97427f
macrotypes/examples/mlish.rkt
@@ -945,7 +945,7 @@
945
#:with τ_out* (syntax-parse #'τ_out
946
[(~?∀ (X ...) (~?∀ (Y ...) τ_out))
947
(for ([X (in-list (syntax->list #'(X ...)))]
948
- #:when (stx-contains-id? #'Xs* X))
+ #:when (stx-contains-id? #'Xs X)) ;; To cause an error, the X must be part of the original signature (I think?)
949
(unless (covariant-X? X #'τ_out)
950
(raise-app-poly-infer-error stx #'(τ_in ...) #'(τ_arg ...) #'e_fn)))
951
#'(?∀ (X ... Y ...) τ_out)])
0 commit comments