Skip to content

Fix for Unused variable, import, function or class#15

Open
Lawrence Lucas Large (LukeLarge) wants to merge 2 commits intomainfrom
finding-autofix-fab4fd07
Open

Fix for Unused variable, import, function or class#15
Lawrence Lucas Large (LukeLarge) wants to merge 2 commits intomainfrom
finding-autofix-fab4fd07

Conversation

@LukeLarge
Copy link
Copy Markdown

In general, unused imports should be removed to keep the code clean and avoid confusion or potential maintenance issues. Here, we should update the import list from @ton/core to include only the symbols that are actually used in the file.

The best fix is to edit the @ton/core import on lines 1–10 to remove Address, MessageRelaxed, and storeMessageRelaxed, leaving the remaining used imports unchanged. No other parts of the file depend on these symbols, so this will not affect existing functionality.

Concretely:

  • In tests/test-only-actions.ts, edit the import block at the top.
  • Remove Address, MessageRelaxed, and storeMessageRelaxed from the curly-brace list.
  • No new methods, definitions, or imports are required.

Suggested fixes powered by Copilot Autofix. Review carefully before merging.

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Lawrence Lucas Large <162439255+LukeLarge@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 13, 2026 14:28
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Fix for Unused variable, import, function or class
#15

@LukeLarge Lawrence Lucas Large (LukeLarge) marked this pull request as ready for review March 13, 2026 14:29
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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