-
Notifications
You must be signed in to change notification settings - Fork 445
chapel-py: expose Dyno error data in Python API, improve error messages. #28391
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 all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
852052c
Add checked casting operations to ErrorBase.h
DanilaFe 16899f8
Add initial draft of wrapping errors
DanilaFe e1ce15b
Add a prototype 'supports_wrap' to check if a type can be sent to Python
DanilaFe 9d2dfe7
Start creating more specific error objects when catching errors
DanilaFe e27bc7d
Add initial draft of returning error info
DanilaFe 7c1ca5a
Flesh out extraction / filtering a bit
DanilaFe 0675e9d
Stop filtering and use placeholders instead
DanilaFe ccf10c5
Fail more explicitly for unwrapping error info tuples.
DanilaFe 81b267f
Expose 'ApplicabilityResult' to Python
DanilaFe cfc1c8c
Bless more types for `->info()` conversion
DanilaFe 05c1e0b
Add failure-reasons-to-string conversion
DanilaFe daaf409
Expose ApplicabilityResult methods
DanilaFe 82a8ef1
Specialize error for NoMatchingCandidates
DanilaFe 2989071
Avoid crashing for null entries in error info tuples
DanilaFe 2b3c5cd
Add more specific location for AsWithUseExcept
DanilaFe b2e7012
Improve some error locations
DanilaFe 4c640b6
Improve the display of another error
DanilaFe 0425960
Fix support for GeneralError
DanilaFe 9f6e21b
Preemptively add DO_NOT_DOCUMENT to ErrorBase.h's generated toBla
DanilaFe e2b3caa
Apply 'black'
DanilaFe 1bf50af
Properly print empty tuples in Python
DanilaFe 98a9522
Stop using boolean flags and just add 'transform' code.
DanilaFe a23cbc5
Remove yet-unnecessary `transform` implementations
DanilaFe 6259dbc
Add tests for new locations
DanilaFe 660a3a1
Apply 'black'
DanilaFe b1a7c68
Apply Jade's feedback
DanilaFe 323fba7
Expose a CallInfo object from chapel-py
DanilaFe cb93f43
Allow for early returns in Error-to-diagnostic code
DanilaFe 2393b12
Compute offset on a per-candidate basis
DanilaFe 41b7cdb
Expand testing with new cases
DanilaFe 5f57b79
Apply black
DanilaFe 80c8790
Stop using 'DiagnosticRelatedInformation' since it's causing doc nons…
DanilaFe 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
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.