mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #5086 from nventuro/patch-1
Removed extra whitespace.
This commit is contained in:
commit
fc6eee0280
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user