diff options
author | Christian Parpart <christian@parpart.family> | 2018-08-04 01:30:33 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-04 01:30:33 +0800 |
commit | a4ee1dfc8308328e55141abed4a1e2286495469a (patch) | |
tree | d1dd367445f3e8dc909fa64587df598911a2cf2b /libsolidity/inlineasm | |
parent | 2c2d4c47ea9cbd485385cf943079d62ef4d84566 (diff) | |
parent | 43c01361f3bb1b2ffebbb82bb24ec7fecbb52d16 (diff) | |
download | dexon-solidity-a4ee1dfc8308328e55141abed4a1e2286495469a.tar dexon-solidity-a4ee1dfc8308328e55141abed4a1e2286495469a.tar.gz dexon-solidity-a4ee1dfc8308328e55141abed4a1e2286495469a.tar.bz2 dexon-solidity-a4ee1dfc8308328e55141abed4a1e2286495469a.tar.lz dexon-solidity-a4ee1dfc8308328e55141abed4a1e2286495469a.tar.xz dexon-solidity-a4ee1dfc8308328e55141abed4a1e2286495469a.tar.zst dexon-solidity-a4ee1dfc8308328e55141abed4a1e2286495469a.zip |
Merge pull request #4412 from ethereum/v050-reference-resolver-errorTypeForLoose
[BREAKING] permanently set errorTypeForLoose from Warning to SyntaxError
Diffstat (limited to 'libsolidity/inlineasm')
-rw-r--r-- | libsolidity/inlineasm/AsmAnalysis.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libsolidity/inlineasm/AsmAnalysis.cpp b/libsolidity/inlineasm/AsmAnalysis.cpp index d5580dd2..ea804cf5 100644 --- a/libsolidity/inlineasm/AsmAnalysis.cpp +++ b/libsolidity/inlineasm/AsmAnalysis.cpp @@ -57,7 +57,7 @@ bool AsmAnalyzer::operator()(Label const& _label) solAssert(!_label.name.empty(), ""); checkLooseFeature( _label.location, - "The use of labels is deprecated. Please use \"if\", \"switch\", \"for\" or function calls instead." + "The use of labels is disallowed. Please use \"if\", \"switch\", \"for\" or function calls instead." ); m_info.stackHeightInfo[&_label] = m_stackHeight; warnOnInstructions(solidity::Instruction::JUMPDEST, _label.location); @@ -68,7 +68,7 @@ bool AsmAnalyzer::operator()(assembly::Instruction const& _instruction) { checkLooseFeature( _instruction.location, - "The use of non-functional instructions is deprecated. Please use functional notation instead." + "The use of non-functional instructions is disallowed. Please use functional notation instead." ); auto const& info = instructionInfo(_instruction.instruction); m_stackHeight += info.ret - info.args; @@ -201,7 +201,7 @@ bool AsmAnalyzer::operator()(assembly::StackAssignment const& _assignment) { checkLooseFeature( _assignment.location, - "The use of stack assignment is deprecated. Please use assignment in functional notation instead." + "The use of stack assignment is disallowed. Please use assignment in functional notation instead." ); bool success = checkAssignment(_assignment.variableName, size_t(-1)); m_info.stackHeightInfo[&_assignment] = m_stackHeight; |