-
Notifications
You must be signed in to change notification settings - Fork 131
Refined ABI type-check on assignment #540
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
Merged
Merged
Changes from 33 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
13a00ad
initial attempt
ahangsu 6acab46
testcase
ahangsu 9bc879d
changelog
ahangsu 116a88f
new test case and corner case for array casees
ahangsu b7354f9
update type spec assignable check scheme
ahangsu bccb799
Merge branch 'master' into refined-abi-assignment-type-check
ahangsu dfc619e
Add illustrative testing DSL for type_spec_is_assignable_to (#548)
michaeldiamant 4b07317
use Mike's categories to categorize test cases in 3 parts
ahangsu 7d8a76d
minor, unorder declaration
ahangsu 0cd68d4
declare methods on testing testcase coverage
ahangsu 67d5454
minor, testing enforce testcase non empty
ahangsu 08cec0a
skip on abstract case
ahangsu ca44031
update coverage test on test case for bidirectional
ahangsu 0b17cf4
unsafe bidirectional testcase coverage
ahangsu bafca69
coverage for safe assignment
ahangsu 178ee21
no overlapping name
ahangsu d125f30
(Un)safe_bidirectional abstract class not existing boundary check
ahangsu b1f2511
Uint test cases for unsafe_bidirectional
ahangsu e4d638c
Bidirectional check over identical typespecs, in unsafe_bidirectional
ahangsu dada5cf
Add list of type specs to skip in safe assignment
ahangsu 4315dd0
remove duplicates in safe bidirectional, for check is O(n^2) anyways
ahangsu 352b929
chaneg skip list to skip set in safe assignment
ahangsu 3256254
allowing uint8 byte mutual assignable
ahangsu 858b976
Update CHANGELOG.md by comment
ahangsu 312e96f
documentation on behavior of type-assignment-to-check
ahangsu d12d158
some more mechanism on namedTuple comparison for assignability
ahangsu 4998577
better indentation
ahangsu 570d8aa
only inheritance from NamedTuple can be constructed, no inheritance-i…
ahangsu a72b606
better guard on NamedTuple inheritance construction
ahangsu a67153e
use issubclass rather than handwrite algorithm
ahangsu f51d758
update documentation to explain better
ahangsu 2f3b173
strengthen namedTupleTypeSpec equality, testcases
ahangsu b8c6ee9
phrasing in `NamedTuple` construction docstring
ahangsu d9dc827
update changelog
ahangsu 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 hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.