Merge pull request #8313 from ethereum/checkFunctionsExistInIsoltest

Make type error fatal to prevent assert failure at later point
This commit is contained in:
Mathias L. Baumann
2020-02-13 16:08:13 +01:00
committed by GitHub
7 changed files with 20 additions and 9 deletions
+1 -1
View File
@@ -2154,7 +2154,7 @@ bool TypeChecker::visit(FunctionCall const& _functionCall)
}
default:
m_errorReporter.typeError(_functionCall.location(), "Type is not callable");
m_errorReporter.fatalTypeError(_functionCall.location(), "Type is not callable");
funcCallAnno.kind = FunctionCallKind::Unset;
funcCallAnno.isPure = argumentsArePure;
break;