mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-18 08:00:54 +00:00
A fuzzer found that converting a pointer to a `FunctionTypeWithSelfType` to `type` does an impl lookup and ends up in TypeIterator with the `FunctionTypeWithSelfType` being iterated over in the self type, where we crash. It's a valid type, so the iterator should be able to walk over and return it. We also constructed a similar example for `FunctionType`.