Merge pull request #5086 from nventuro/patch-1

Removed extra whitespace.
This commit is contained in:
chriseth 2018-09-25 20:55:59 +02:00 committed by GitHub
commit fc6eee0280
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2039,7 +2039,7 @@ void TypeChecker::endVisit(NewExpression const& _newExpression)
if (!contract)
m_errorReporter.fatalTypeError(_newExpression.location(), "Identifier is not a contract.");
if (contract->contractKind() == ContractDefinition::ContractKind::Interface)
m_errorReporter.fatalTypeError(_newExpression.location(), "Cannot instantiate an interface.");
m_errorReporter.fatalTypeError(_newExpression.location(), "Cannot instantiate an interface.");
if (!contract->annotation().unimplementedFunctions.empty())
{
SecondarySourceLocation ssl;