[SR-1306] Inconsistent behavior with labeled type parameters #43914
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
type checker
Area → compiler: Semantic analysis
Environment
Swift 2.2 and Swift 3 master branch
Additional Detail from JIRA
md5: 109c04a65b17188a6ae294c4a3e1ae14
duplicates:
Issue Description:
When a metatype type is used as a function parameter, whether or not the passed type requires ".self" depends on whether the parameter has an external label.
The error output looks like this:
Whatever the correct behavior is should be consistent between foo(_:) and bar(baz:).
The text was updated successfully, but these errors were encountered: