diff options
author | liangdzou <liang.d.zou@gmail.com> | 2018-08-16 13:42:46 +0800 |
---|---|---|
committer | liangdzou <liang.d.zou@gmail.com> | 2018-08-16 13:42:46 +0800 |
commit | 74c37935f0e0c028c007f306597c74a4834e53f7 (patch) | |
tree | e1c22298ef86a5a86ed72fcfdea8e856a759252b | |
parent | cc6fa6d61fb934617d088bb04766ef0dea614b4f (diff) | |
download | dexon-solidity-74c37935f0e0c028c007f306597c74a4834e53f7.tar dexon-solidity-74c37935f0e0c028c007f306597c74a4834e53f7.tar.gz dexon-solidity-74c37935f0e0c028c007f306597c74a4834e53f7.tar.bz2 dexon-solidity-74c37935f0e0c028c007f306597c74a4834e53f7.tar.lz dexon-solidity-74c37935f0e0c028c007f306597c74a4834e53f7.tar.xz dexon-solidity-74c37935f0e0c028c007f306597c74a4834e53f7.tar.zst dexon-solidity-74c37935f0e0c028c007f306597c74a4834e53f7.zip |
fix a typo: declaratoion => declaration
-rw-r--r-- | libsolidity/ast/AST.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/ast/AST.cpp b/libsolidity/ast/AST.cpp index a376e55d..635ab024 100644 --- a/libsolidity/ast/AST.cpp +++ b/libsolidity/ast/AST.cpp @@ -397,7 +397,7 @@ SourceUnit const& Scopable::sourceUnit() const { ASTNode const* s = scope(); 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()) s = dynamic_cast<Scopable const*>(s)->scope(); return dynamic_cast<SourceUnit const&>(*s); |