mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
fix a typo: declaratoion => declaration
This commit is contained in:
parent
cc6fa6d61f
commit
74c37935f0
@ -397,7 +397,7 @@ SourceUnit const& Scopable::sourceUnit() const
|
|||||||
{
|
{
|
||||||
ASTNode const* s = scope();
|
ASTNode const* s = scope();
|
||||||
solAssert(s, "");
|
solAssert(s, "");
|
||||||
// will not always be a declaratoion
|
// will not always be a declaration
|
||||||
while (dynamic_cast<Scopable const*>(s) && dynamic_cast<Scopable const*>(s)->scope())
|
while (dynamic_cast<Scopable const*>(s) && dynamic_cast<Scopable const*>(s)->scope())
|
||||||
s = dynamic_cast<Scopable const*>(s)->scope();
|
s = dynamic_cast<Scopable const*>(s)->scope();
|
||||||
return dynamic_cast<SourceUnit const&>(*s);
|
return dynamic_cast<SourceUnit const&>(*s);
|
||||||
|
Loading…
Reference in New Issue
Block a user