aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity
diff options
context:
space:
mode:
authorLianaHus <liana@ethdev.com>2015-11-07 03:56:14 +0800
committerLianaHus <liana@ethdev.com>2015-11-07 03:56:14 +0800
commitda47f9df7b508149f137ebd4d80f6b31e27131d3 (patch)
tree1c402e074b234c72518abaea52c6ae7f2bd504ec /test/libsolidity
parent63060fc1f0f2f27ab4ad853c7295c2cfba373b83 (diff)
downloaddexon-solidity-da47f9df7b508149f137ebd4d80f6b31e27131d3.tar.gz
dexon-solidity-da47f9df7b508149f137ebd4d80f6b31e27131d3.tar.zst
dexon-solidity-da47f9df7b508149f137ebd4d80f6b31e27131d3.zip
style fixes
Diffstat (limited to 'test/libsolidity')
-rw-r--r--test/libsolidity/SolidityNameAndTypeResolution.cpp4
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()));
}