carbon-lang
carbon-lang copied to clipboard
Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)
### Summary of issue: Given this code: ``` interface Eats {} interface Goat {} impl Goat as Eats {} fn F(e: Eats) {} fn G() { F(Goat); } ``` The...
### Description of the bug: The [precedence diagram](https://docs.carbon-lang.dev/docs/design/expressions/#precedence) is missing the `partial` operator, and there are multiple choices for what should be added. - Same precedence group as `const` (non-associative):...
### Summary of issue: Now that `Core` is a keyword, we can support both a package named `Core` and a package named `r#Core` in the same program, and these would...
Should this be valid: ```carbon class A { protected var a: i32; } class B { extend adapt A; fn F[self: Self]() -> i32 { return self.a; } } ```...
### Summary of issue: What precisely are the rules that determine what has access to members with `private` or `protected` access modifiers? Here are some questions that I don't think...
### Summary of issue: As described in the generics design, there is a [subtyping relationship](https://github.com/carbon-language/carbon-lang/blob/trunk/docs/design/generics/details.md#subtyping-between-type-of-types) between facet types when one has a subset of the constraints of another. But it's...
### Summary of issue: Right now, whether a class's object representation includes a vptr is implicit from the presence of virtual functions. Should it be explicitly declared? ### Details: A...