carbon-language / carbon-lang

Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)
http://docs.carbon-lang.dev/
Other
32.35k stars 1.48k forks source link

Improve namespace handling in imports. #4153

Closed jonmeow closed 3 months ago

jonmeow commented 3 months ago

This implements a few closely related features:

Note this is primarily for executing the namespace TODO in check.cpp, which is removed here. testdata/namespace/merging_with_indirections.carbon tests key behavior.

jonmeow commented 3 months ago

Depends on #4154 [2024-07-23: dependencies are merged]