What is the alternative to using label in Solidity inline assembly code? Label is deprecated in new version.

1 Answer 1


According to the docs, support for labels has been removed in version 0.5.0 of Solidity. Please use functions, loops, if or switch statements instead.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.