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

Let 'unused variable' be a warning #187

Open
dagurval opened this issue Feb 1, 2024 · 1 comment
Open

Let 'unused variable' be a warning #187

dagurval opened this issue Feb 1, 2024 · 1 comment

Comments

@dagurval
Copy link
Contributor

dagurval commented Feb 1, 2024

When debugging, it would be nice if errors like

Unused variable prefix at Line 71, Column 8

... could be a warnings instead of compilation error.

This allows for more easilly temporarily commenting out code.

@mr-zwets
Copy link
Member

yeah definitely need a way to still have the compiled output, maybe with a flag for testing.

This would allow for Test-Driven-Development where the smart contract code is written on the fly based on tests.

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

No branches or pull requests

2 participants