carbon-lang icon indicating copy to clipboard operation
carbon-lang copied to clipboard

Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)

Results 398 carbon-lang issues
Sort by recently updated
recently updated
newest added
trafficstars

### Summary of issue: Currently, the only place the design says we support implied constraints is in generic function signatures: ```carbon interface Hashable { ... } class HashSet(T:! Hashable); //...

leads question

Example ([live](https://carbon.godbolt.org/z/MG8sae3o3)): ``` interface A { let T:! Type; } constraint AInt { extends A where .T = i32; } interface B { impl as AInt; } // #1. Return...

leads question

### Summary of issue: Consider this code: ``` // #1 fn F(); class C(template T:! type) { extend base: T; fn G[self: Self]() { // #2 F(); } } class...

leads question

### Summary of issue: Asked by @zygoloid at https://github.com/carbon-language/carbon-lang/pull/2287/files/47e08ca918ded47684369e64addf2c42f7e07095#r1015980990, filing on his behalf: > `impl`s seem like a much more complicated case, because they don't seem to have "one true...

leads question

From a discussion in [#typesystem started on 2022-07-06](https://discord.com/channels/655572317891461132/708431657849585705/994341902944051270), a question arose about this code: ``` fn F(z:! T); let x: T = ...; // Allowed? F(x); ``` We are considering...

long term
leads question

Proposal #950 [defines generic `let` in a function body](https://github.com/carbon-language/carbon-lang/blob/bbe815c0ad072f47f42e46d161a17dfe37644b89/docs/design/generics/details.md#generic-let) as a way to create an erased type. `let T:! C = U` defines `T` to be `U` erased to have...

long term
leads question

The [documented design for class parameters](https://github.com/carbon-language/carbon-lang/blob/trunk/docs/design/generics/details.md#parameterized-types) does not specify what exactly is allowed to parameterize a class, though only gives examples where it is parameterized by a list of generic...

long term
leads question

### Summary of issue: Proposal #2006 adds _value expressions_ to Carbon, one key feature is the ability to have customized _representations_ for values of a given type. This leads to...

leads question

The meaning of the top-level scope in a source file was the topic of leads question #1136. The question was resolved and the main decision comment is https://github.com/carbon-language/carbon-lang/issues/1136#issuecomment-1086352687 Because the...

long term issue
design idea

### Summary of issue: The variadics syntax currently proposed in #2240 is based on symbolic tokens that are quite visually noisy (if not downright ugly). Following discussions at C++Now, I've...

leads question