-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat!: Make linear types @inout by default; add @owned annotation #486
Merged
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
40e9701
Drive-by: change name of parse_docstring
croyzor ec3072e
Drive-by: Say which identifiers are unknown
croyzor 091802e
checkpoint: integration tests
croyzor 1edb8f0
Update comprehension error tests
croyzor 24e7d04
Update inout error files
croyzor d5db2e7
Update linear error files
croyzor e64155f
Update misc error tests
croyzor 8a0976d
Only print the missing module for attributes
croyzor b982bc4
Update more error files
croyzor ea04238
Merge remote-tracking branch 'origin/main' into feat/owned
croyzor 217d471
Fix printing of flags
croyzor 718c2c7
Review comments
croyzor f07175a
Add new test case
croyzor 6fa60fd
Update error files
croyzor 8f9b7de
Review comment: update used_twice
croyzor 8c911ee
revert pyproject change
croyzor 45be26d
Shut up mypy
croyzor 11d9642
Update references to @inout
croyzor fe69a36
Merge branch 'main' into feat/owned
croyzor df989bb
Take ownership of linear args to struct constructors
croyzor fc75c81
Add tests for linear struct initialisation
croyzor b8fe162
Make check an assert
croyzor b13e547
chore: Unskip now-passing tests (#475)
aborgna-q f32cd61
Merge remote-tracking branch 'origin/main' into feat/owned
croyzor a34d824
Update guppylang/tys/ty.py
croyzor 46d32a1
Update guppylang/checker/linearity_checker.py
croyzor 7c7e2d0
Update guppylang/tys/parsing.py
croyzor fdf10f2
Update tests; mypy annotations
croyzor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Drive-by: Printing the unknown identifiers here and on line 89
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #479. It also makes the printed id show the module name instead of the object repr.