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 40a930e commit 1e35aafCopy full SHA for 1e35aaf
test/StringProcessing/Parse/forward-slash-regex.swift
@@ -169,8 +169,6 @@ _ = 0 . / 1 / 2 // expected-error {{expected member name following '.'}}
169
170
switch "" {
171
case /x/:
172
- // expected-error@-1 {{expression pattern of type 'Regex<Substring>' cannot match values of type 'String'}}
173
- // expected-note@-2 {{overloads for '~=' exist with these partially matching parameter lists: (Substring, String)}}
174
break
175
case _ where /x /:
176
// expected-error@-1 {{cannot convert value of type 'Regex<Substring>' to expected condition type 'Bool'}}
0 commit comments