mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Refactoring: Check types outside of AST and recover from some errors.
This commit is contained in:
@@ -170,7 +170,7 @@ unsigned CompilerUtils::sizeOnStack(std::vector<T> const& _variables)
|
||||
{
|
||||
unsigned size = 0;
|
||||
for (T const& variable: _variables)
|
||||
size += variable->type()->sizeOnStack();
|
||||
size += variable->annotation().type->sizeOnStack();
|
||||
return size;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user