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

Remove warnings about scope not used #939

Merged

Conversation

bchamagne
Copy link
Member

Description

Remove these warnings by using Function.identify(scope):

warning: variable "scope" is unused (there is a variable with the same name in the context, use the pin operator (^) to match on it or prefix this variable with underscore if it is not meant to be used)
  nofile:5

THE ONLY RELEVANT CHANGE IS lib/archethic/contracts/interpreter/legacy/utils_interpreter.ex. The rest is to adapt the tests.

Type of change

cleanup

How Has This Been Tested?

unit tests

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@samuelmanzanera samuelmanzanera merged commit 6aa3746 into archethic-foundation:develop Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done 🍻
Development

Successfully merging this pull request may close these issues.

None yet

2 participants