Merge pull request #8522 from a3d4/fix-8427-ast-types-compiler-error

Promoted typeError to fatalTypeError in ReferencesResolver
This commit is contained in:
chriseth
2020-03-25 11:23:00 +01:00
committed by GitHub
4 changed files with 18 additions and 2 deletions
+1 -1
View File
@@ -204,7 +204,7 @@ void ReferencesResolver::endVisit(UserDefinedTypeName const& _typeName)
else
{
_typeName.annotation().type = TypeProvider::emptyTuple();
typeError(_typeName.location(), "Name has to refer to a struct, enum or contract.");
fatalTypeError(_typeName.location(), "Name has to refer to a struct, enum or contract.");
}
}