Suggest the "if" statement too instead of jumps

This commit is contained in:
Alex Beregszaszi 2017-12-05 10:45:44 +00:00
parent bc875f6b9c
commit 793537e089

View File

@ -529,6 +529,6 @@ void AsmAnalyzer::warnOnInstructions(solidity::Instruction _instr, SourceLocatio
_location,
"Jump instructions and labels are low-level EVM features that can lead to "
"incorrect stack access. Because of that they are discouraged. "
"Please consider using \"switch\" or \"for\" statements instead."
"Please consider using \"switch\", \"if\" or \"for\" statements instead."
);
}