We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3f2ea6 commit 6e63486Copy full SHA for 6e63486
lib/AST/Type.cpp
@@ -1790,9 +1790,6 @@ class IsBindableVisitor
1790
if (nom->getDecl() != substNom->getDecl())
1791
return CanType();
1792
1793
- if (nom->getDecl()->isInvalid())
1794
- return CanType();
1795
-
1796
// Same decl should always either have or not have a parent.
1797
assert((bool)nom->getParent() == (bool)substNom->getParent());
1798
@@ -2034,8 +2031,6 @@ class IsBindableVisitor
2034
2031
2035
2032
2036
2033
auto *decl = bgt->getDecl();
2037
- if (decl->isInvalid())
2038
2039
2040
auto *moduleDecl = decl->getParentModule();
2041
auto origSubMap = bgt->getContextSubstitutionMap(
0 commit comments