Skip to content
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

Fix position of marker for dereference of nullable errors #439

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

TonyxSun
Copy link

@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
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