mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 21:10:12 +01:00
We propose a principle that it's always possible to inline the import of a library from within the same package without changing the meaning of or diagnostics applied to the code. This is similar to the textual inlining of an `#include` statement in C++, but is slightly less general. Cross-package imports place the imported names inside the name scope of the package, so inlining those necessarily changes the paths for name lookup. --------- Co-authored-by: josh11b <15258583+josh11b@users.noreply.github.com> Co-authored-by: Carbon Infra Bot <carbon-external-infra@google.com>
Project
This directory contains project-related documentation for Carbon. Information about how the project works, goals, and community information belong here.
- Goals, and principles derived from those goals
- Roadmap and the process for updating it
- Carbon's process for evolution and governance
- Groups used for contacting key contributors and determining access
- Contributing to Carbon:
- Tools used when contributing to Carbon
- Style guides for language design and C++ code
- How Carbon does code review
- Trunk-based pull-request GitHub workflow used by Carbon