diff options
author | LianaHus <liana@ethdev.com> | 2015-11-07 03:56:14 +0800 |
---|---|---|
committer | LianaHus <liana@ethdev.com> | 2015-11-07 03:56:14 +0800 |
commit | da47f9df7b508149f137ebd4d80f6b31e27131d3 (patch) | |
tree | 1c402e074b234c72518abaea52c6ae7f2bd504ec /test | |
parent | 63060fc1f0f2f27ab4ad853c7295c2cfba373b83 (diff) | |
download | dexon-solidity-da47f9df7b508149f137ebd4d80f6b31e27131d3.tar dexon-solidity-da47f9df7b508149f137ebd4d80f6b31e27131d3.tar.gz dexon-solidity-da47f9df7b508149f137ebd4d80f6b31e27131d3.tar.bz2 dexon-solidity-da47f9df7b508149f137ebd4d80f6b31e27131d3.tar.lz dexon-solidity-da47f9df7b508149f137ebd4d80f6b31e27131d3.tar.xz dexon-solidity-da47f9df7b508149f137ebd4d80f6b31e27131d3.tar.zst dexon-solidity-da47f9df7b508149f137ebd4d80f6b31e27131d3.zip |
style fixes
Diffstat (limited to 'test')
-rw-r--r-- | test/libsolidity/SolidityNameAndTypeResolution.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/libsolidity/SolidityNameAndTypeResolution.cpp b/test/libsolidity/SolidityNameAndTypeResolution.cpp index f4e01000..915d6542 100644 --- a/test/libsolidity/SolidityNameAndTypeResolution.cpp +++ b/test/libsolidity/SolidityNameAndTypeResolution.cpp @@ -69,7 +69,7 @@ parseAnalyseAndReturnError(string const& _source, bool _reportWarnings = false) globalContext->setCurrentContract(*contract); resolver.updateDeclaration(*globalContext->currentThis()); resolver.updateDeclaration(*globalContext->currentSuper()); - if (! resolver.resolveNamesAndTypes(*contract)) + if (!resolver.resolveNamesAndTypes(*contract)) success = false; } if (success) @@ -93,7 +93,7 @@ parseAnalyseAndReturnError(string const& _source, bool _reportWarnings = false) return make_pair(sourceUnit, std::make_shared<Error::Type const>(currentError->type())); } } - catch(Error const& _e) + catch (Error const& _e) { return make_pair(sourceUnit, std::make_shared<Error::Type const>(_e.type())); } |