mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 20:10:13 +01:00
This commit creates an instance for any associated types in an interface with a custom witness table. This unlocks interfaces designed for C++ interop that rely on arbitrary return types. For example, `CppUnsafeDeref` becomes usable as of this commit. This commit may have also implemented support for non-type associated constants, but since we're lacking a practical test case, they're still marked as TODO for the time being. --------- Co-authored-by: Dana Jansens <danakj@orodu.net> Co-authored-by: Richard Smith <richard@metafoo.co.uk>