 josh11bandRichard Smith
|
6f8cf38329
|
Consistent class and interface syntax (#2760)
Update syntax of `class` and `interface` definitions to be more consistent. Constructs that add names to the class or interface from another definition are always prefixed by the `extend` keyword.
Implements the decisions in:
- [#995: Generics external impl versus extends](https://github.com/carbon-language/carbon-lang/issues/995),
- [#1159: adaptor versus adapter may be harder to spell than we'd like](https://github.com/carbon-language/carbon-lang/issues/1159),
- [#2580: How should Carbon handle conditionally implemented internal interfaces](https://github.com/carbon-language/carbon-lang/issues/2580), and
- [#2770: Terminology for internal and external implementations](https://github.com/carbon-language/carbon-lang/issues/2770).
Co-authored-by: Richard Smith <richard@metafoo.co.uk>
|
2023-06-14 17:18:54 -07:00 |
|