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 #1693 #1708

Merged
Merged

Conversation

janmasrovira
Copy link
Collaborator

@janmasrovira janmasrovira commented Jan 9, 2023

Closes #1693.

This pr includes:

Note that in the test I have:

I : {A : Type} → A → A;
I := S K (K {_} {Bool});

instead of

I : {A : Type} → A → A;
I := S K K;

I could have picked any type instead of Bool, but it needs to be provided explicitly, otherwise inference fails (as expected)

@janmasrovira janmasrovira added this to the 0.2.9 milestone Jan 9, 2023
@janmasrovira janmasrovira self-assigned this Jan 9, 2023
@janmasrovira janmasrovira linked an issue Jan 9, 2023 that may be closed by this pull request
@janmasrovira janmasrovira force-pushed the 1693-type-checking-crashes-with-higher-order-functions branch from 92bbbbb to d996730 Compare January 9, 2023 14:22
@janmasrovira janmasrovira force-pushed the 1693-type-checking-crashes-with-higher-order-functions branch from 71ee199 to 75d8888 Compare January 9, 2023 14:58
@janmasrovira janmasrovira force-pushed the 1693-type-checking-crashes-with-higher-order-functions branch from 75d8888 to 741ad82 Compare January 9, 2023 17:33
@janmasrovira janmasrovira merged commit 3b452e7 into main Jan 9, 2023
@janmasrovira janmasrovira deleted the 1693-type-checking-crashes-with-higher-order-functions branch January 9, 2023 17:56
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 checking crashes with higher-order functions
3 participants