aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/analysis
diff options
context:
space:
mode:
authorRhett Aultman <roadriverrail@gmail.com>2017-07-19 22:19:21 +0800
committerRhett Aultman <roadriverrail@gmail.com>2017-07-19 22:19:21 +0800
commita2a759f79288c95467baf965871891bc59864340 (patch)
tree133a649aa1c2f25545aa81262bf6f72042bee403 /libsolidity/analysis
parente506129aee5745e2b7bc8f4b96dcaa8adcc2c2ea (diff)
downloaddexon-solidity-a2a759f79288c95467baf965871891bc59864340.tar.gz
dexon-solidity-a2a759f79288c95467baf965871891bc59864340.tar.zst
dexon-solidity-a2a759f79288c95467baf965871891bc59864340.zip
Migrate over to ErrorReporter
Diffstat (limited to 'libsolidity/analysis')
-rw-r--r--libsolidity/analysis/StaticAnalyzer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/analysis/StaticAnalyzer.cpp b/libsolidity/analysis/StaticAnalyzer.cpp
index c81a46e7..46477e1e 100644
--- a/libsolidity/analysis/StaticAnalyzer.cpp
+++ b/libsolidity/analysis/StaticAnalyzer.cpp
@@ -138,7 +138,7 @@ bool StaticAnalyzer::visit(MemberAccess const& _memberAccess)
if (m_constructor && m_currentContract)
if (ContractType const* type = dynamic_cast<ContractType const*>(_memberAccess.expression().annotation().type.get()))
if (type->contractDefinition() == *m_currentContract)
- warning(_memberAccess.location(), "\"this\" used in constructor.");
+ m_errorReporter.warning(_memberAccess.location(), "\"this\" used in constructor.");
return true;
}