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

Nimony: ref T and ptr T support plus nil #304

Open
5 of 7 tasks
Araq opened this issue Dec 29, 2024 · 1 comment
Open
5 of 7 tasks

Nimony: ref T and ptr T support plus nil #304

Araq opened this issue Dec 29, 2024 · 1 comment
Assignees

Comments

@Araq
Copy link
Member

Araq commented Dec 29, 2024

  • needs a .compilerproc mechanism and allocator support
  • support nil for these - tested by add test for nil pointers #319 at least
  • support (ref T)(fields: values...) construction - accepted in frontend
  • lower ref object construction (NewOconstrX)
  • derefs for ref object dot fields
  • make deref operator [] part of system.nim: a .magic for pointers/refs
  • nominal ref/ptr objects - possibly as own type kinds
@Araq Araq assigned Araq and metagn and unassigned Araq Dec 29, 2024
@Araq
Copy link
Member Author

Araq commented Jan 1, 2025

@metagn Work on the frontend aspects of this please.

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

No branches or pull requests

2 participants