mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
AST: Quote attributes more consistently in DiagnosticsSema.def
This commit is contained in:
@@ -14,6 +14,6 @@ import AppKit
|
||||
let globalConstantWithLazyInitializer: String = "hello, world"
|
||||
|
||||
@NSApplicationMain // expected-deprecated-warning {{'NSApplicationMain' is deprecated; this is an error in the Swift 6 language mode}}
|
||||
// expected-deprecated-note@-1 {{use @main instead}} {{1-19=@main}}
|
||||
// expected-deprecated-note@-1 {{use '@main' instead}} {{1-19=@main}}
|
||||
class MyDelegate: NSObject, NSApplicationDelegate {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user