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

Apply improvements from effects system to the type system #1204

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

bugarela
Copy link
Collaborator

@bugarela bugarela commented Oct 4, 2023

Hello :octocat:

This implements items (3), (4) e (5) from #1203. I found this problems for the effect checker, but the type checker has similar issues, so this fixes them.

  • Tests added for any new code
  • [-] Documentation added for any new functionality
  • [-] Entries added to the respective CHANGELOG.md for any new functionality
  • [-] Feature table on README.md updated for any listed functionality

// We cannot assign the result of a switch to a value, so we use an arrow function instead
const singleApplication = () => {
switch (t.kind) {
case 'var': {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

idk what happen with the diff, but inside the switch, the only change is indentation.

@bugarela bugarela requested review from thpani and shonfeder October 4, 2023 13:57
@bugarela bugarela self-assigned this Oct 4, 2023
@bugarela bugarela merged commit c1f0ab7 into main Oct 4, 2023
@bugarela bugarela deleted the gabriela/type-substitution-improvements branch October 4, 2023 14:25
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.

3 participants