Thanks for the swift replies! The purpose of mangling makes sense.
Some concrete follow-up questions:
- Is it worth pursuing a more flexible scheme for mangling a list of function type modifiers? And is it possible to do so in a backwards-compatible way? Please see my post above.
- Regarding
@differentiable
functions: which@differentiable + @xxx
modifier combinations would you recommend mangling in the current scheme?- Currently, https://github.com/apple/swift/pull/25804 adds
@differentiable
+@escaping
/@noescape
modifier combinations.
- Currently, https://github.com/apple/swift/pull/25804 adds
Filed SR-11027! @convention(c) @autoclosure
actually crashes today.