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

Allow linear types inside lists #530

Closed
Tracked by #526
mark-koch opened this issue Oct 2, 2024 · 0 comments · Fixed by #531
Closed
Tracked by #526

Allow linear types inside lists #530

mark-koch opened this issue Oct 2, 2024 · 0 comments · Fixed by #531
Assignees

Comments

@mark-koch
Copy link
Collaborator

No description provided.

@mark-koch mark-koch self-assigned this Oct 2, 2024
github-merge-queue bot pushed a commit that referenced this issue Oct 3, 2024
Closes #530 and closes #524.

* Changes the signature of list methods to allow linear list elements
(implicitly using the inout feature).
* Removes methods that are not supported for now (see #528)
* Small change to the unification logic to be a bit laxer about
requiring matching `@owned` flags if one of the arguments is not linear
(otherwise we couldn't unify `L @owned` with any classical type). We'll
need to revisit that once we have flags that can be put on classical
types.

BREAKING CHANGE: Unsupported list methods have been removed.
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 a pull request may close this issue.

1 participant