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.
2 parents a8c2aaa + 6c282cb commit d1881c4Copy full SHA for d1881c4
lib/IRGen/Linking.cpp
@@ -462,9 +462,7 @@ std::string LinkEntity::mangleAsString() const {
462
463
case Kind::AsyncFunctionPointerAST: {
464
std::string Result;
465
- Result =
466
- SILDeclRef(const_cast<ValueDecl *>(getDecl()), SILDeclRef::Kind::Func)
467
- .mangle();
+ Result = SILDeclRef(const_cast<ValueDecl *>(getDecl())).mangle();
468
Result.append("Tu");
469
return Result;
470
}
test/TBD/rdar80485869.swift
@@ -0,0 +1,7 @@
1
+// RUN: %empty-directory(%t)
2
+// RUN: %target-swift-frontend %s -emit-module-path %t/module -emit-tbd -enable-testing
3
+
4
+public actor Tom {
5
+ init() async {
6
+ }
7
+}
0 commit comments