Skip to content

Commit 389232a

Browse files
committed
[Test] Add a FIXME next to a test case that should be diagnosed
1 parent 0a39e7d commit 389232a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/decl/enum/enumtest.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ let _: GenericEnumWithStaticNone<Int>? = .none // expected-warning {{assuming yo
509509
// expected-note@-1 {{explicitly specify 'Optional' to silence this warning}}{{42-42=Optional}}
510510
// expected-note@-2 {{use 'GenericEnumWithStaticNone<Int>.none' instead}}{{42-42=GenericEnumWithStaticNone<Int>}}
511511
let _: GenericEnumWithStaticNone<String>? = .none // Okay
512-
let _: GenericEnumWithStaticNone? = .none // Okay
512+
let _: GenericEnumWithStaticNone? = .none // FIXME(SR-11535): This should be diagnosed
513513

514514
enum GenericEnumWithoutNone<T> {
515515
case a

0 commit comments

Comments
 (0)