Add support for 'noreturn' keyword introduced in D13.#433
Merged
cirras merged 5 commits intointegrated-application-development:masterfrom Apr 13, 2026
Merged
Conversation
2 tasks
`UnknownException` now represents a guaranteed raise of an exception with unknown type. `PossibleException` has been introduced to fill the role that `UnknownException` had before, where we think an invocation **may** raise an exception of unknown type, but it isn't guaranteed.
3a4a7e4 to
ea4f4f0
Compare
cirras
previously approved these changes
Apr 13, 2026
Collaborator
cirras
left a comment
There was a problem hiding this comment.
Made a few changes:
- Changed the rule name to
NoreturnContract. - Improved modelling of exception raises in the CFG to better support the rule you added.
- Fixed the rule implementation to walk the CFG correctly. (tests are now passing)
I'll merge shortly - thanks for your contribution. 👍
6910881 to
e267f23
Compare
Co-authored-by: Jonah Jeleniewski <jjeleniewski@integradev.com.au>
This fixes our integration tests, which pull down the latest SonarQube via the Sonar Orchestrator library. Current versions of SonarQube require Java 21+.
e267f23 to
b8e7f94
Compare
cirras
approved these changes
Apr 13, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.