Skip to content

Exception parameters are intrinsically NonNull#508

Merged
wmdietl merged 4 commits into
mainfrom
issue-347
Jul 9, 2024
Merged

Exception parameters are intrinsically NonNull#508
wmdietl merged 4 commits into
mainfrom
issue-347

Conversation

@wmdietl

@wmdietl wmdietl commented Apr 25, 2024

Copy link
Copy Markdown
Collaborator

Relates to the discussion in #347.
This PR updates the spec and completes the conformance tests.

@@ -65,6 +65,12 @@ void catchParameters() {
// test:irrelevant-annotation:NonNull

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should there be different tests for "irrelevant" vs. "intrinsically non-null"?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've been using irrelevant-annotation for all cases where the annotation is unrecognized or inapplicable, without requiring tools to distinguish.

@@ -65,6 +65,12 @@ void catchParameters() {
// test:irrelevant-annotation:NonNull

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've been using irrelevant-annotation for all cases where the annotation is unrecognized or inapplicable, without requiring tools to distinguish.

cpovirk and others added 2 commits June 26, 2024 08:23
@netdpb

netdpb commented Jul 9, 2024

Copy link
Copy Markdown
Collaborator

@wmdietl are you waiting for something before you squash-and-merge?

@wmdietl wmdietl merged commit bc70dc4 into main Jul 9, 2024
@wmdietl wmdietl deleted the issue-347 branch July 9, 2024 17:35
@wmdietl

wmdietl commented Jul 9, 2024

Copy link
Copy Markdown
Collaborator Author

@wmdietl are you waiting for something before you squash-and-merge?

Thanks for the ping.

cpovirk added a commit to jspecify/jspecify-reference-checker that referenced this pull request Jul 9, 2024
This hasn't happened automatically, as discussed in
#184.
cpovirk added a commit to jspecify/jspecify-reference-checker that referenced this pull request Jul 9, 2024
This hasn't happened automatically, as discussed in
#184.
wmdietl added a commit to jspecify/jspecify-reference-checker that referenced this pull request Jul 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants