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.24k stars 1.48k forks source link

Only produce a name scope for a namespace when not merged #4168

Closed jonmeow closed 2 months ago

jonmeow commented 2 months ago

Addresses the comment on https://github.com/carbon-language/carbon-lang/pull/4153#discussion_r1690292168 (although maybe with somewhat quirky results, since contents get printed each time)