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 type inference for numeric literals #1057

Merged
merged 2 commits into from
Oct 3, 2023
Merged

Conversation

kyouko-taiga
Copy link
Contributor

@kyouko-taiga kyouko-taiga commented Oct 3, 2023

This PR let type information propagate from the leaves of infix expressions such that we can write x + 1 when x is other than Int.

@kyouko-taiga kyouko-taiga force-pushed the fix-literal-inference branch 4 times, most recently from 90d13f1 to 2e4937a Compare October 3, 2023 21:22
@kyouko-taiga kyouko-taiga merged commit 12c55bf into main Oct 3, 2023
9 checks passed
@kyouko-taiga kyouko-taiga deleted the fix-literal-inference branch October 3, 2023 22:02
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.

1 participant