mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Sema: Fix crash in IgnoreAssignmentDestinationType::diagnoseForAmbiguity()
This commit is contained in:
@@ -2037,7 +2037,7 @@ DeclName OverloadChoice::getName() const {
|
||||
case OverloadChoiceKind::MaterializePack:
|
||||
case OverloadChoiceKind::TupleIndex:
|
||||
case OverloadChoiceKind::ExtractFunctionIsolation:
|
||||
llvm_unreachable("no name!");
|
||||
return DeclName();
|
||||
}
|
||||
|
||||
llvm_unreachable("Unhandled OverloadChoiceKind in switch.");
|
||||
|
||||
Reference in New Issue
Block a user