[SR-10088] Subscript overloads are incorrectly allowed to differ by escaping-ness #52490
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
good first issue
Good for newcomers
type checker
Area → compiler: Semantic analysis
Environment
Swift version 5.0-dev (LLVM 94d957ca75, Swift f07a84a)
Target: x86_64-apple-darwin18.2.0
Additional Detail from JIRA
md5: d6e10743f8e36163cbd39a4e83fc2569
Issue Description:
For functions, we don't allow overloads to differ by escaping-ness:
However we do allow this for subscripts:
We should reject such subscript overloads like we do with functions.
The text was updated successfully, but these errors were encountered: