mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fixed a crash during type checking.
This commit is contained in:
parent
b158e48c1a
commit
d3c8847726
@ -495,7 +495,10 @@ void TypeChecker::visitManually(
|
||||
break;
|
||||
}
|
||||
if (!parameters)
|
||||
{
|
||||
typeError(_modifier.location(), "Referenced declaration is neither modifier nor base class.");
|
||||
return;
|
||||
}
|
||||
if (parameters->size() != arguments.size())
|
||||
typeError(
|
||||
_modifier.location(),
|
||||
|
Loading…
Reference in New Issue
Block a user