[Parse] Re-allow prefix operators containing /

This commit is contained in:
Hamish Knight
2022-05-12 11:49:09 +01:00
parent a1e138b2af
commit 105ab3149a
4 changed files with 4 additions and 14 deletions

View File

@@ -2,9 +2,9 @@
// REQUIRES: swift_in_compiler
// REQUIRES: concurrency
prefix operator / // expected-error {{prefix operator may not contain '/'}}
prefix operator ^/ // expected-error {{prefix operator may not contain '/'}}
prefix operator /^/ // expected-error {{prefix operator may not contain '/'}}
prefix operator /
prefix operator ^/
prefix operator /^/
prefix operator !!
prefix func !! <T>(_ x: T) -> T { x }