-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Closed
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfThe Swift compiler itselfgood first issueGood for newcomersGood for newcomersparserArea → compiler: The legacy C++ parserArea → compiler: The legacy C++ parser
Description
| Previous ID | SR-11677 |
| Radar | rdar://38225184 |
| Original Reporter | @CodaFi |
| Type | Bug |
| Status | Resolved |
| Resolution | Done |
Additional Detail from JIRA
| Votes | 0 |
| Component/s | Compiler |
| Labels | Bug, Parser, StarterBug |
| Assignee | ninjiacoder (JIRA) |
| Priority | Medium |
md5: 50a519e5af58b06b95d65605733d7cf0
Issue Description:
We currently emit a pile of garbage diagnostics about this declaration. We should instead offer a concise diagnostic that replaces the && with a comma.
extension Collection where Element == Int && Index == Int {
}Metadata
Metadata
Assignees
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfThe Swift compiler itselfgood first issueGood for newcomersGood for newcomersparserArea → compiler: The legacy C++ parserArea → compiler: The legacy C++ parser