swift
ff946919 - Sema: don't consider opaque types distinct for overloading purposes.

Commit
6 years ago
Sema: don't consider opaque types distinct for overloading purposes. This is necessary because: ``` func foo() -> some P func foo() -> some P ``` theoretically defines two distinct return types, but there'd be no way to disambiguate them. Disallow overloading only by opaque return type.
Author
Committer
Parents
Loading