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

Struct fields - tracking issue #8

Open
1 of 5 tasks
VonTum opened this issue Sep 7, 2024 · 0 comments
Open
1 of 5 tasks

Struct fields - tracking issue #8

VonTum opened this issue Sep 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@VonTum
Copy link
Collaborator

VonTum commented Sep 7, 2024

Relates to #2.

To add struct fields, there's a few prerequisites

  • Use hindley-milner type inference (needs to be done regardless)
  • Fields and interface names are resolved at typechecking time (this means removing them from initialization.rs)
  • Flattened representation of fields
  • Instantiate representation of fields
  • Codegen for structs & fields
@VonTum VonTum added the enhancement New feature or request label Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant