mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
BooleanType => Boolean
This commit is contained in:
committed by
Max Moiseev
parent
507b68315e
commit
2c95bb6d51
@@ -2241,7 +2241,7 @@ namespace {
|
||||
Expr *condExpr = expr->getCondExpr();
|
||||
auto booleanType
|
||||
= CS.getTypeChecker().getProtocol(expr->getQuestionLoc(),
|
||||
KnownProtocolKind::BooleanType);
|
||||
KnownProtocolKind::Boolean);
|
||||
if (!booleanType)
|
||||
return Type();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user