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/tuple.swift
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -103,7 +103,7 @@ func testLValue(c: C) {
103
103
104
104
105
105
// <rdar://problem/21444509> Crash in TypeChecker::coercePatternToType
106
-
func invalidPatternCrash(let k :Int){
106
+
func invalidPatternCrash(k :Int){
107
107
switch k {
108
108
case(k, cph_: k) as UInt8: // expected-error {{tuple pattern cannot match values of the non-tuple type 'UInt8'}} expected-warning {{cast from 'Int' to unrelated type 'UInt8' always fails}}
0 commit comments