-
Notifications
You must be signed in to change notification settings - Fork 404
feat: type alias for numeric generics #7583
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 8 commits
Commits
Show all changes
69 commits
Select commit
Hold shift + click to select a range
a1b9b69
type alias for numeric generics
guipublic 0c2f4ff
Merge branch 'master' into gd/issue_7272
guipublic 82d639e
fix unit tests
guipublic ff24516
Merge branch 'master' into gd/issue_7272
guipublic 4d4dabe
use the aliased expression in loop bounds
guipublic 531467a
Merge branch 'master' into gd/issue_7272
guipublic 8f50d5e
code review: get location before parsing semi-column
guipublic 249f71b
code review
guipublic ca3298f
Code Review: use option instead of an enum
guipublic 7884d9f
Code review
guipublic e19f7e3
Merge branch 'master' into gd/issue_7272
guipublic 6739cc9
rename typealias
guipublic 7b79b8a
Merge branch 'master' into gd/issue_7272
guipublic c5e1dcc
Disable numeric type alias composition
guipublic 0074169
Merge branch 'master' into gd/issue_7272
guipublic 44abde3
remove 'custom errors span' in test as it conflict with negative lite…
guipublic e04ad34
Merge branch 'master' into gd/issue_7272
guipublic 97b7063
format
guipublic faf9f0c
remove custom error spans from test, completely
guipublic efcecff
add integration test
guipublic e1552b4
Merge branch 'master' into gd/issue_7272
guipublic a4ae121
format numeric type alias
guipublic e5de933
Merge branch 'master' into gd/issue_7272
guipublic 7522b3a
Merge branch 'master' into gd/issue_7272
guipublic fd35270
chore: avoid unnecessary mutable sets of `num_expr`
TomAFrench fc7b048
chore: fix me breaking things
TomAFrench 58b39a9
chore: move tests to `aliases` module and add identity test
TomAFrench 1744fea
code review
guipublic 3eb7c2f
Merge branch 'master' into gd/issue_7272
guipublic cb8d263
Code review, allow variable as numeric expression
guipublic 44cd174
Merge branch 'master' into gd/issue_7272
TomAFrench d67a9cb
Strengthen error on type alias referencing other type alias
guipublic fcc9c04
Merge branch 'master' into gd/issue_7272
guipublic 49d865f
fix composing numeric type aliases
guipublic fb837af
Code review: more specific errors and more unit tests
guipublic afa5cc9
Merge branch 'master' into gd/issue_7272
guipublic 02fe712
Merge branch 'master' into gd/issue_7272
guipublic b60811f
code review
guipublic 7d0f467
Merge branch 'master' into gd/issue_7272
guipublic 5e728d8
format
guipublic 96aa359
fix merge issue with unit tests
guipublic 305a791
fix unit tests from merge
guipublic 64535b8
code review and a few fixes from the merge
guipublic 9da1895
code review
guipublic 471d635
Merge branch 'master' into gd/issue_7272
guipublic 4c71b8c
code review: use location of the bad expression for errors
guipublic 226764a
snapshots
guipublic 0e8349f
Merge branch 'master' into gd/issue_7272
guipublic e015e64
Merge branch 'master' into gd/issue_7272
guipublic 5624dfb
snapshots
guipublic 6aa1b31
Merge branch 'master' into gd/issue_7272
guipublic c7561fc
attempt to list failing programs from aliases tests
guipublic 9dfc377
Use `check_errors!`
asterite 64a4b11
More tests and snapshots
asterite e40a4ec
Snapshots
asterite 2a19c9a
Merge branch 'master' into gd/issue_7272
guipublic 65f94dc
better location for numeric expression in type alias
guipublic 309e58d
better location for numeric expression in type alias
guipublic e54ee3d
snapshots
guipublic 20d2478
Merge branch 'master' into gd/issue_7272
guipublic 3c4c46b
Merge branch 'master' into gd/issue_7272
asterite 0697813
Handle UnresolvedTypeData::AsTraitPath
asterite 2a96dce
code review
guipublic 826bfca
Merge branch 'master' into gd/issue_7272
guipublic 61f3d2c
Merge branch 'master' into gd/issue_7272
guipublic 251d89b
fix build
guipublic 5e42487
snapshots
guipublic 62cf332
Merge branch 'master' into gd/issue_7272
guipublic 06f3cb6
format
guipublic 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
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.