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

Fix MustCombineARecord explanation #2244

Merged
merged 1 commit into from
Jul 7, 2021
Merged

Conversation

sjakobi
Copy link
Collaborator

@sjakobi sjakobi commented Jul 7, 2021

This bug manifested as an incorrect type error explanation:

You supplied this expression as one of the arguments:

↳ { x = 1 }

... which is not a record, but is actually a:

↳ Type

────────────────────────────────────────────────────────────────────────────────

1│ { x = 1 } /\ {}

This issue was reported in #2238.

This bug manifested as an incorrect type error explanation:

    You supplied this expression as one of the arguments:

    ↳ { x = 1 }

    ... which is not a record, but is actually a:

    ↳ Type

    ────────────────────────────────────────────────────────────────────────────────

    1│ { x = 1 } /\ {}

This issue was reported in
#2238.
@sjakobi sjakobi merged commit 7ca9e3d into master Jul 7, 2021
@sjakobi sjakobi deleted the sjakobi/fix-MustCombineARecord branch July 7, 2021 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants