Skip to content

Commit 7c088be

Browse files
authored
Merge pull request #18057 from huonw/sr8240
[test] Stop a test relying on inconsistent formatting of an error message.
2 parents 7ca663c + db04e81 commit 7c088be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validation-test/compiler_crashers_2_fixed/0166-sr8240-2.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ extension Repr {
99
}
1010
extension Box where Representation == Repr, T == Representation.RawEnum {
1111
init(rawEnumValue: Representation.RawEnum) {
12-
let _: Int.Type = T.self // expected-error {{cannot convert value of type '().Type' to specified type 'Int.Type'}}
12+
let _: ().Type = T.self
1313
fatalError()
1414
}
1515
}

0 commit comments

Comments
 (0)