[SR-8207] Error on incorrect parameter #50739
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
type checker
Area → compiler: Semantic analysis
Environment
macOS 10.13.5
Xcode 9.4.1, Xcode 10.0 beta 3
Additional Detail from JIRA
md5: 922ee3326077438a16219fdf90842455
Issue Description:
Compiling the following code:
Gives the following error:
The parameter that is incorrect is the 2nd one, but the error is on the 1st one (which is correct).
Note that the error is correct if you remove the where clause on the class definition.
The text was updated successfully, but these errors were encountered: