-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
compilerThe Swift compiler itselfThe Swift compiler itselfgood first issueGood for newcomersGood for newcomersimprovementtype checkerArea → compiler: Semantic analysisArea → compiler: Semantic analysis
Description
Previous ID | SR-12085 |
Radar | rdar://58879303 |
Original Reporter | @CodaFi |
Type | Improvement |
Status | Resolved |
Resolution | Done |
Additional Detail from JIRA
Votes | 0 |
Component/s | Compiler |
Labels | Improvement, StarterBug, TypeChecker |
Assignee | dfsweeney (JIRA) |
Priority | Medium |
md5: 3ff0e16b54d9cecb5d8f2423279ab61e
Issue Description:
Returning the null Type() is a legacy behavior that used to drive the now-dead-and-gone IterativeTypeChecker. That we return the null Type at all just serves to cause crashes in downstream components. All of these paths should diagnose and return ErrorType instead.
Metadata
Metadata
Assignees
Labels
compilerThe Swift compiler itselfThe Swift compiler itselfgood first issueGood for newcomersGood for newcomersimprovementtype checkerArea → compiler: Semantic analysisArea → compiler: Semantic analysis