aboutsummaryrefslogtreecommitdiffstats
path: root/AST.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'AST.cpp')
-rw-r--r--AST.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/AST.cpp b/AST.cpp
index 2ef3b03e..2f98ce4f 100644
--- a/AST.cpp
+++ b/AST.cpp
@@ -954,9 +954,6 @@ Declaration const& Identifier::getReferencedDeclaration() const
void Identifier::overloadResolution(TypePointers const& _argumentTypes)
{
solAssert(!m_referencedDeclaration, "Referenced declaration should be null before overload resolution.");
- //to delete
- if (m_overloadedDeclarations.empty())
- //--------------------------->
solAssert(!m_overloadedDeclarations.empty(), "No candidates for overload resolution found.");
vector<Declaration const*> possibles;