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

Start working on type-level interpreter #639

Closed
wants to merge 7 commits into from

Conversation

CohenArthur
Copy link
Member

No description provided.

@CohenArthur
Copy link
Member Author

CohenArthur commented Dec 5, 2023

  • Split off the Kind::UnionType commits in their own PR
  • Merge Add fir::Kind::UnionType #640
  • Merge Name resolve multi types #636
  • Actual does not take care of resolving TypeVariable::Actual(Kind::TypeReference) to TypeVariable::Actual(UnionType) or TypeVariable::Actual(RecordType)
  • Rework commit log
  • void needs to be a special typeset
  • Handle the following piece of code:
type Some(of: int);
type Nothing;
type Maybe = Some | Nothing;

func unit() -> Some | Nothing { Nothing }
func just(value: int) -> Maybe { Some(of: value) }

@CohenArthur
Copy link
Member Author

CohenArthur commented Dec 16, 2023

  • void needs to be a special typeset

@CohenArthur
Copy link
Member Author

Closing in favor of #641

@CohenArthur CohenArthur closed this Feb 6, 2024
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.

None yet

1 participant