You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/Constraints/generics.swift
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -648,7 +648,7 @@ let arr = [BottleLayout]()
648
648
letlayout=BottleLayout(count:1)
649
649
letix= arr.firstIndex(of:layout) // expected-error {{referencing instance method 'firstIndex(of:)' on 'Collection' requires that 'BottleLayout' conform to 'Equatable'}}
650
650
651
-
let _:()->UInt8={.init("a"asUnicode.Scalar)} // expected-error {{initializer 'init(_:)' requires that 'Unicode.Scalar' conform to 'BinaryInteger'}}
651
+
let _:()->UInt8={.init("a"asUnicode.Scalar)} // expected-error {{initializer 'init(_:)' requires that 'Unicode.Scalar' conform to }}
0 commit comments