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)
In this example: ``` interface I { let T:! type; default fn F() -> T; } fn I.F() -> T { class C { // `I` is complete, but `I.F`'s...
Static functions Pointers
### Description of the bug: _No response_ ### What did you do, or what's a simple way to reproduce the bug? ``` base class Foo { } class Base {...
Doc: [Carbon: Early interop in toolchain](https://docs.google.com/document/d/1WpTZhnnic3IzjAv_mkULJQH8cIwxgn9gzfjq4tnglJU)
Languages that support pattern matching often have ways of combining it with `if`/`else` control flow, and we've repeatedly discussed adding such features to Carbon, but don't yet have an accepted...
Doc: https://docs.google.com/document/d/1QwW0KF1OikLYPtr6EWDCw_zSCcts1kvvwijGRwozv8s/ In case we decide we want to take on CTAD-like behavior in Carbon, I'm creating this as a long-term issue so the doc doesn't get lost and is...
### Description of the bug: Currently if you crash Carbon in compiler explorer you get a stack trace without symbols, which ends up in a bug report https://github.com/carbon-language/carbon-lang/issues/5094 Expecting folks...
Constraints on variadic pack arity, template phase arity and constant time query operations on packs
Doc: https://docs.google.com/document/d/1bAG5UHqMw7i8Yoyv1wiIhG2dNlu5vLgOYvWyttYLges/ In case we decide we want to expand on the current variadics design to support symbolic phase pack arity constraints, template phase artity, and constant time query operations...
When the Carbon toolchain is compiling C++ code, either directly or for interop, we need to provide a complete set of C++ runtimes. This issue is to discuss various challenges...