Skip to content

Commit

Permalink
Assert import AST
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusaaguiar committed Nov 30, 2023
1 parent 9b09afe commit fc65c0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libsolidity/interface/CompilerStack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@ void CompilerStack::importASTs(std::map<std::string, Json::Value> const& _source
std::map<std::string, ASTPointer<SourceUnit>> reconstructedSources = ASTJsonImporter(m_evmVersion).jsonToSourceUnit(_sources);
for (auto& src: reconstructedSources)
{
solUnimplementedAssert(!src.second->experimentalSolidity());
std::string const& path = src.first;
Source source;
source.ast = src.second;
Expand Down

0 comments on commit fc65c0c

Please sign in to comment.