mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-16 22:28:11 +00:00
While convert has the option to avoid diagnostics, when that flag is false, ErrorInst results must also produce a diagnostic. Otherwise we end up with errors in the semir but not error provided to the user. The new diagnostics reveal that a number of tests for abstract types were passing incorrectly. They had errors in the semir but no diagnostics. A TODO is added in convert to allow an abstract conversion target type when not initializing.