mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
929bf610e0
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.