Skip to content

Commit 9b92468

Browse files
committed
Gardening: Migrate test suite to GH issues: PrintAsObjC
1 parent ff7f117 commit 9b92468

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

test/PrintAsObjC/error.swift

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77

88
import Foundation
99

10-
// TODO: Ideally we'd output invalid decls regardless (so that they could eg. be used in code
11-
// completion), but we avoid doing so for now to prevent crashes. Revisit later to handle a possibly
12-
// invalid AST while printing the ObjectiveC header - see SR-15088.
10+
// TODO: Ideally we'd output invalid decls regardless (so that they could eg. be
11+
// used in code completion), but we avoid doing so for now to prevent crashes.
12+
// Revisit later to handle a possibly invalid AST while printing the ObjectiveC
13+
// header - see https://github.com/apple/swift/issues/57414.
1314

1415
@objc class ErrorClass: NSObject {
1516
// CHECK: @interface ErrorClass

test/PrintAsObjC/imported-block-typedefs.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import ObjectiveC
1414
// FIXME: The imported typedefs should be printed directly as the param types,
1515
// but one level of sugar is currently lost when applying @noescape. The importer
1616
// also loses __attribute__((noescape)) for params of imported function types.
17-
// <https://bugs.swift.org/browse/SR-2520>
18-
// <https://bugs.swift.org/browse/SR-2529>
17+
// https://github.com/apple/swift/issues/45125
18+
// https://github.com/apple/swift/issues/45134
1919

2020
// CHECK-NEXT: - (void)noescapeParam1:(SWIFT_NOESCAPE void (^ _Nonnull)(void))input;
2121
// CHECK-NEXT: - (void)noescapeParam2:(SWIFT_NOESCAPE void (^ _Nonnull)(PlainBlock _Nullable))input;

0 commit comments

Comments
 (0)