Skip to content

Fix position of marker for dereference of nullable errors#439

Open
TonyxSun wants to merge 6 commits intoeisop:masterfrom
TonyxSun:nullness_error_marker
Open

Fix position of marker for dereference of nullable errors#439
TonyxSun wants to merge 6 commits intoeisop:masterfrom
TonyxSun:nullness_error_marker

Conversation

@TonyxSun
Copy link
Copy Markdown

@TonyxSun TonyxSun commented Mar 18, 2023

Fix position of marker for DEREFERENCE_OF_NULLABLE type errors.

Previous behavior:

// Class.java:10: error: [dereference.of.nullable] dereference of possibly-null reference firstObj.intList
//         firstObj.intList.add(1);
//                 ^

New behavior:

// Class.java:10: error: [dereference.of.nullable] dereference of possibly-null reference firstObj.intList
//         firstObj.intList.add(1);
//                         ^

@TonyxSun TonyxSun force-pushed the nullness_error_marker branch 4 times, most recently from d022f5d to a3bb7ac Compare March 20, 2023 03:14
@TonyxSun TonyxSun force-pushed the nullness_error_marker branch from a3bb7ac to a0c91fc Compare April 7, 2023 16:04
@TonyxSun TonyxSun closed this Dec 20, 2024
@TonyxSun
Copy link
Copy Markdown
Author

Dependent on eisop/checker-framework.demos#3. Lost context as it is too old. Feel free to close

@TonyxSun TonyxSun reopened this Dec 20, 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.

2 participants