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)
Our syntax for an out-of-line definition of a destructor looks like this: ``` class C { destructor [self: Self]; } destructor C [self: Self] { } ``` In all other...
Capturing some notes from @chandlerc: > There are two steps here > 1) converting to a .o file > 2) linking together the .o files into an executable > for...
### Description of the bug: This is the feature version of #2583 (now that the crash is fixed), to support aliasing an interface method as a class member. ### What...
Per discussion around #2783 and [on #syntax](https://discord.com/channels/655572317891461132/709488742942900284/1098318068725334066), there's a long-term desire to migrate AutoPattern away from being a pattern, and instead have it be an expression. This had come up...
This issue tracks known cases where the termination rule for impl selection rejects code that would not encounter a cycle. At some point we will need to check whether the...
### Description of the bug: Question-for-leads issue #686 has a decision for how assignment works for classes by default. This decision should be implemented in a proposal (as noted at...
### Summary of issue: Should Carbon's argument deduction be able to deduce from a base class of the type of the value we are matching against? ### Details: When deducing...
### Summary of issue: This is a language feature request. What are the opinions of the leads about having a general control flow mechanism that is extensible by users? Delimited...
Currently, our variable syntax is: ``` let PATTERN = INIT; ``` for constants and ``` var PATTERN = INIT; ``` for mutable variables, and our syntax for declaring an entity...
### Description of the bug: I'm trying to build carbon with a more-or-less upstream Clang. The Bison dependency won't build. I'm not sure what exactly causes it, but the same...