mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-15 10:18:29 +00:00
Importing a function with a `-> val` return form, such as `fn F() -> val i32`, crashed because `TryResolveInstCanonical` had no case for `ValueForm`. Also, an imported `RefForm` was given type `type` rather than `Core.Form`. Import all three primitive forms with a single function template. Assisted-by: Claude via Antigravity