File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -949,6 +949,8 @@ void CommandLineInterface::handleCombinedJSON()
949
949
{
950
950
Json::Value& contractData = output[g_strContracts][contractName] = Json::objectValue;
951
951
952
+ // NOTE: The state checks here are more strict that in Standard JSON. There we allow
953
+ // requesting certain outputs even if compilation fails as long as analysis went ok.
952
954
if (m_compiler && m_compiler->compilationSuccessful ())
953
955
{
954
956
if (m_options.compiler .combinedJsonRequests ->abi )
@@ -1000,7 +1002,8 @@ void CommandLineInterface::handleCombinedJSON()
1000
1002
}
1001
1003
}
1002
1004
1003
- bool needsSourceList = m_options.compiler .combinedJsonRequests ->ast ||
1005
+ bool needsSourceList =
1006
+ m_options.compiler .combinedJsonRequests ->ast ||
1004
1007
m_options.compiler .combinedJsonRequests ->srcMap ||
1005
1008
m_options.compiler .combinedJsonRequests ->srcMapRuntime ;
1006
1009
if (needsSourceList)
You can’t perform that action at this time.
0 commit comments