mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Parse] Re-allow prefix operators containing /
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user