mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Constraint solver] Check switch exhaustiveness in function builders
This commit is contained in:
@@ -1123,6 +1123,8 @@ public:
|
||||
++caseIndex;
|
||||
}
|
||||
|
||||
TypeChecker::checkSwitchExhaustiveness(switchStmt, dc, /*limited=*/false);
|
||||
|
||||
return switchStmt;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user