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

Check that type functions are supported #2306

Conversation

janmasrovira
Copy link
Collaborator

When the type of function definition is of the form ... -> Type it has to have only one clause and no pattern matching.

@janmasrovira janmasrovira requested a review from lukaszcz August 23, 2023 09:07
@janmasrovira janmasrovira self-assigned this Aug 23, 2023
@janmasrovira janmasrovira added this to the 0.4.3 milestone Aug 23, 2023
@janmasrovira janmasrovira marked this pull request as ready for review August 23, 2023 09:08
@lukaszcz lukaszcz merged commit 5194e7c into main Aug 23, 2023
@lukaszcz lukaszcz deleted the 2297-type-synonym-definitions-with-non-type-arguments-should-give-an-error branch August 23, 2023 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Type synonym definitions with non-type arguments should give an error.
2 participants