Skip to content

Commit

Permalink
comment out isPassThroughTypealies
Browse files Browse the repository at this point in the history
  • Loading branch information
xavgru12 committed Apr 21, 2024
1 parent 7699916 commit 7025a0d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Sema/TypeCheckDecl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3041,11 +3041,11 @@ ExtendedTypeRequest::evaluate(Evaluator &eval, ExtensionDecl *ext) const {
if (auto *aliasDecl = dyn_cast<TypeAliasDecl>(unboundGeneric->getDecl())) {
auto underlyingType = aliasDecl->getUnderlyingType();
if (auto extendedNominal = underlyingType->getAnyNominal()) {
return TypeChecker::isPassThroughTypealias(
return extendedType; /*TypeChecker::isPassThroughTypealias(
aliasDecl, extendedNominal)
? extendedType
: extendedNominal->getDeclaredType();
}
: extendedNominal->getDeclaredType(); */
}

if (underlyingType->is<TupleType>()) {
return extendedType;
Expand Down

0 comments on commit 7025a0d

Please sign in to comment.