mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Do not put duplicate labels for accessor functions.
This commit is contained in:
parent
408fd7ab59
commit
b7e5c1d9d2
@ -288,7 +288,6 @@ bool Compiler::visit(VariableDeclaration const& _variableDeclaration)
|
|||||||
m_breakTags.clear();
|
m_breakTags.clear();
|
||||||
m_continueTags.clear();
|
m_continueTags.clear();
|
||||||
|
|
||||||
m_context << m_context.getFunctionEntryLabel(_variableDeclaration);
|
|
||||||
ExpressionCompiler(m_context, m_optimize).appendStateVariableAccessor(_variableDeclaration);
|
ExpressionCompiler(m_context, m_optimize).appendStateVariableAccessor(_variableDeclaration);
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user