mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-30 18:55:01 +01:00
For example, see toolchain/check/testdata/class/fail_incomplete.carbon for the diagnostic changes. `IncompleteTypeInFunctionReturnType` should remain, while the redundant `IncompleteTypeInFunctionParam` is removed. Note I'm deliberately trying to validate the return type after other parameters, because I think that's the better user experience. This does also incrementally change IR.