mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Make tests resistant to changes in order of declaration.
This commit is contained in:
parent
ef05913743
commit
adce36ff58
2
AST.h
2
AST.h
@ -487,7 +487,6 @@ public:
|
|||||||
|
|
||||||
std::vector<ASTPointer<VariableDeclaration>> const& getParameters() const { return m_parameters->getParameters(); }
|
std::vector<ASTPointer<VariableDeclaration>> const& getParameters() const { return m_parameters->getParameters(); }
|
||||||
ParameterList const& getParameterList() const { return *m_parameters; }
|
ParameterList const& getParameterList() const { return *m_parameters; }
|
||||||
Block const& getBody() const { return *m_body; }
|
|
||||||
|
|
||||||
virtual TypePointer getType(ContractDefinition const* = nullptr) const override
|
virtual TypePointer getType(ContractDefinition const* = nullptr) const override
|
||||||
{
|
{
|
||||||
@ -498,7 +497,6 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
ASTPointer<ParameterList> m_parameters;
|
ASTPointer<ParameterList> m_parameters;
|
||||||
ASTPointer<Block> m_body;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user