mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Ensure we print raw identifier names with backticks for e.g the document structure request. rdar://152524780
14 lines
246 B
Swift
14 lines
246 B
Swift
struct `A.B` {
|
|
func `foo bar`(`a b`: Int, c: Int, `$`: String) {}
|
|
func `3four`() {}
|
|
func `baz`(`x`: Int) {}
|
|
}
|
|
extension `A.B` {}
|
|
|
|
struct Outer {
|
|
struct Inner {}
|
|
}
|
|
extension Outer.Inner {}
|
|
|
|
func + (lhs: `A.B`, rhs: `A.B`) -> `A.B` { lhs }
|