Gardening: Migrate test suite to GH issues: PrintAsObjC

This commit is contained in:
Anthony Latsis
2022-09-02 01:36:11 +03:00
parent ff7f117025
commit 9b924684d3
2 changed files with 6 additions and 5 deletions

View File

@@ -7,9 +7,10 @@
import Foundation
// TODO: Ideally we'd output invalid decls regardless (so that they could eg. be used in code
// completion), but we avoid doing so for now to prevent crashes. Revisit later to handle a possibly
// invalid AST while printing the ObjectiveC header - see SR-15088.
// TODO: Ideally we'd output invalid decls regardless (so that they could eg. be
// used in code completion), but we avoid doing so for now to prevent crashes.
// Revisit later to handle a possibly invalid AST while printing the ObjectiveC
// header - see https://github.com/apple/swift/issues/57414.
@objc class ErrorClass: NSObject {
// CHECK: @interface ErrorClass

View File

@@ -14,8 +14,8 @@ import ObjectiveC
// FIXME: The imported typedefs should be printed directly as the param types,
// but one level of sugar is currently lost when applying @noescape. The importer
// also loses __attribute__((noescape)) for params of imported function types.
// <https://bugs.swift.org/browse/SR-2520>
// <https://bugs.swift.org/browse/SR-2529>
// https://github.com/apple/swift/issues/45125
// https://github.com/apple/swift/issues/45134
// CHECK-NEXT: - (void)noescapeParam1:(SWIFT_NOESCAPE void (^ _Nonnull)(void))input;
// CHECK-NEXT: - (void)noescapeParam2:(SWIFT_NOESCAPE void (^ _Nonnull)(PlainBlock _Nullable))input;