mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-01 11:25:00 +01:00
Extends the set of function signatures that support being given a builtin definition to include cases where a parameter or return type is an adapter for a supported type. For example, if we can give a builtin definition to `Add(a: i32, b: i32) -> i32`, then we can also give a builtin definition to `Add(a: MyI32, b: MyI32) - >MyI32` where `MyI32` adapts `i32`. This is a prerequisite for changing `Core.Int` to be a class type that adapts the builtin int type.