mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
While declaration mangling now does the right thing for parameter lists, the function type mangling unfortunately still models the parameter list as a single tuple node. Change the runtime's behavior to match the AST mangler, which wraps a single tuple-typed parameter in a tuple node, so that we can produce different mangling trees for function types taking multiple arguments versus a single tuple argument.