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 1a81cf5 commit 0c60273Copy full SHA for 0c60273
lib/SIL/IR/TypeLowering.cpp
@@ -4104,7 +4104,7 @@ TypeConverter::getGenericSignatureWithCapturedEnvironments(SILDeclRef c) {
4104
vd->getDeclContext()->getGenericSignatureOfContext());
4105
case SILDeclRef::Kind::EntryPoint:
4106
case SILDeclRef::Kind::AsyncEntryPoint:
4107
- llvm_unreachable("Doesn't have generic signature");
+ return GenericSignatureWithCapturedEnvironments();
4108
}
4109
4110
llvm_unreachable("Unhandled SILDeclRefKind in switch.");
0 commit comments