Skip to content

Conversation

@CharlesZ-Chen
Copy link
Owner

Forbid below situations to make sure @UnsafeRead keep locally:

  • assign @UnsafeRead to an int field.
  • passing @UnsafeRead as an argument when invoking a method

Fix two false positives. Test added.

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