Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stash compilation error #2

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Stash compilation error #2

wants to merge 1 commit into from

Commits on Feb 19, 2024

  1. Stash compilation error

    I don't understand the following error yet, given that I bind the type
    a by a type constraint on the field [t].
    
    ---
    File "test/test__cache.ml", line 42, characters 27-53:
    42 |   let (Provider.T (type a) { t = (_ : a); interface }) = num_printer in
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^
    Error: Existential types introduced in a constructor pattern
           must be bound by a type constraint on the argument.
    mbarbin committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    8e3f81a View commit details
    Browse the repository at this point in the history