mirror of
https://github.com/apple/swift.git
synced 2025-12-25 12:15:36 +01:00
This fixes a libSyntax misparse where the first parameter name was parsed as the `isolated` token.
8 lines
286 B
Swift
8 lines
286 B
Swift
// RUN: %swift-syntax-test -input-source-filename %s -serialize-raw-tree > %t
|
|
// RUN: diff %S/Inputs/serialize_functions.json %t -u
|
|
|
|
func oneName(name: String) {}
|
|
func oneName(firstName secondName: String) {}
|
|
func const(_const _ map: String) {}
|
|
func isolated(isolated _ map: String) {}
|