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

Missing Static Error For Free Constructor when used in Application #1385

Open
GuoDCZ opened this issue Sep 1, 2024 · 1 comment
Open

Missing Static Error For Free Constructor when used in Application #1385

GuoDCZ opened this issue Sep 1, 2024 · 1 comment
Labels
bug critical critical bug

Comments

@GuoDCZ
Copy link

GuoDCZ commented Sep 1, 2024

Expect free constructor to raise

  • ABCDEF not found

We got

  • A equals to expected type.

tested on dev 4037935

image

This message is shown when:

let common_ok_view = (cls: Cls.t, ok: Info.ok_pat) => {
  switch (cls, ok) {
...
  | (_, Ana(Consistent({ana, syn, _}))) when ana == syn => [
      text(":"),
      Type.view(syn),
      text("equals expected type"),
    ]
@GuoDCZ GuoDCZ added the bug label Sep 1, 2024
@cyrus- cyrus- added the critical critical bug label Sep 3, 2024
@cyrus-
Copy link
Member

cyrus- commented Sep 3, 2024

@GuoDCZ could you try to see if you can find a fix for this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug critical critical bug
Projects
Status: Team Language
Development

No branches or pull requests

2 participants