Skip to content

Conversation

@junxzm1990
Copy link
Contributor

@junxzm1990 junxzm1990 commented Oct 29, 2025

Description

The NeedlessMutableReference linter did not consider mutable references passed to Invoke, leading to false positives when function values are used. This PR fixes the problem.

How Has This Been Tested?

  • New linter test cases

Type of Change

  • New feature
  • Bug fix
  • Breaking change
  • Performance improvement
  • Refactoring
  • Dependency update
  • Documentation update
  • Tests

Which Components or Systems Does This Change Impact?

  • Validator Node
  • Full Node (API, Indexer, etc.)
  • Move/Aptos Virtual Machine
  • Aptos Framework
  • Aptos CLI/SDK
  • Developer Infrastructure
  • Move Compiler
  • Other (Move linter)

Copy link
Contributor Author

@junxzm1990 junxzm1990 marked this pull request as ready for review October 29, 2025 15:46
@junxzm1990 junxzm1990 marked this pull request as draft October 29, 2025 15:47
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