swift
7fc2179c - stdlib: Fix more typed throws and non-copyable generics condfails.

Commit
1 year ago
stdlib: Fix more typed throws and non-copyable generics condfails. There were two categories of problem for older compilers that consume the stdlib `.swiftinterface`: - The `case .some(borrowing x)` syntax isn't accepted; use `_borrowing` - Various functions that addopted `~Copyable` generic constraints conflict with the `@usableFromInline` ABI stubs that were left in to preserve compatibility when the functions are printed with `~Copyable` constraints stripped. The stubs need to have different names to get out of the way. Resolves rdar://127132742
Author
Committer
Parents
Loading