diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-08-22 03:35:27 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-10-19 06:32:33 +0800 |
commit | 039cc25b1fd875e9f4cfd0f0649f2b4ed67640e1 (patch) | |
tree | 9ce832cfbff61de9911817bbfd4c09a833a61ca9 /test/libsolidity/AnalysisFramework.cpp | |
parent | 7454a766b37951674095afdd0c8573713e2511a4 (diff) | |
download | dexon-solidity-039cc25b1fd875e9f4cfd0f0649f2b4ed67640e1.tar.gz dexon-solidity-039cc25b1fd875e9f4cfd0f0649f2b4ed67640e1.tar.zst dexon-solidity-039cc25b1fd875e9f4cfd0f0649f2b4ed67640e1.zip |
Always require a contract/sourceName in CompilerStack
Diffstat (limited to 'test/libsolidity/AnalysisFramework.cpp')
-rw-r--r-- | test/libsolidity/AnalysisFramework.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/AnalysisFramework.cpp b/test/libsolidity/AnalysisFramework.cpp index 3bdc40a0..ea9703ea 100644 --- a/test/libsolidity/AnalysisFramework.cpp +++ b/test/libsolidity/AnalysisFramework.cpp @@ -81,7 +81,7 @@ AnalysisFramework::parseAnalyseAndReturnError( } } - return make_pair(&m_compiler.ast(), firstError); + return make_pair(&m_compiler.ast(""), firstError); } SourceUnit const* AnalysisFramework::parseAndAnalyse(string const& _source) |