Uploaded image for project: 'Swift'
  1. Swift
  2. SR-12085

Clean up TypeCheckType so it never returns Type()

    XMLWordPrintable

    Details

      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.

        Attachments

          Activity

            People

            Assignee:
            dfsweeney Daniel Sweeney
            Reporter:
            rwidmann Robert Widmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: