swift
07168d7e - Sema: Open-code mapTypeOutOfContext() on weird types

Commit
1 year ago
Sema: Open-code mapTypeOutOfContext() on weird types Associated type inference likes to wrap concrete types in DependentMemberTypes. Calling mapTypeOutOfContext() on such a type can crash. Open-code the transform instead. Longer term, I want to clean up the invariants here and stop mapping things in and out of different contexts randomly.
Author
Committer
Parents
  • lib/Sema
    • File
      TypeCheckProtocolInference.cpp
  • test/decl/protocol/req
    • File
      associated_type_inference_stdlib_3.swift