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 043f501 + a9e6efb commit 5b18179Copy full SHA for 5b18179
lib/IRGen/Linking.cpp
@@ -468,9 +468,7 @@ std::string LinkEntity::mangleAsString() const {
468
469
case Kind::AsyncFunctionPointerAST: {
470
std::string Result;
471
- Result =
472
- SILDeclRef(const_cast<ValueDecl *>(getDecl()), SILDeclRef::Kind::Func)
473
- .mangle();
+ Result = SILDeclRef(const_cast<ValueDecl *>(getDecl())).mangle();
474
Result.append("Tu");
475
return Result;
476
}
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