mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
There was a special case here to type-check `T.init` as a single closure
`{ args.. in T.init(args..) }`, but really, we can do that for any static
member applied to a static metatype base, including operators.
Also fix SILGen's function conversion peephole so it looks through
`as (T...) -> U` coercions that don't involve bridging.
1.2 KiB
1.2 KiB