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.
1 parent 1dfe31a commit d2c1a1cCopy full SHA for d2c1a1c
Tests/SwiftParserTest/DeclarationTests.swift
@@ -1215,6 +1215,15 @@ final class DeclarationTests: XCTestCase {
1215
// `actor` cannot recover from a missing identifier since it's contextual
1216
// based on the presence of the identifier.
1217
}
1218
+
1219
+ func testIssue1025() {
1220
+ AssertParse("""
1221
+ struct Math {
1222
+ public static let pi = 3.14
1223
+ @available(*, unavailable) init() {}
1224
+ }
1225
+ """)
1226
1227
1228
1229
extension Parser.DeclAttributes {
0 commit comments