Redundant errors in synthesized makeIterator
call on conflicting generic arguments in for
-in
sequence expression
#72818
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
for-in loops
Feature: for-in loops
generics
Feature: generic declarations and types
statements
Feature: statements
swift 6.0
type checker
Area → compiler: Semantic analysis
Description
No response
Reproduction
Expected behavior
A single error in relation to written code:
conflicting arguments to generic parameter 'T' ('Int16' vs. 'Int')
.Environment
Swift version 6.0-dev (LLVM 48dc0c6fa01ce9e, Swift 2650c285671c227)
Additional information
No response
The text was updated successfully, but these errors were encountered: