Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include a fully-qualified name when stringifying types. #4657

Merged
merged 3 commits into from
Dec 11, 2024

Conversation

zygoloid
Copy link
Contributor

For example, format the ImplicitAs interface as Core.ImplicitAs rather than simply ImplicitAs.

When importing an entity in a namespace, also import a declaration of the enclosing namespace if necessary so that we can determine its name.

Copy link
Contributor

@jonmeow jonmeow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change LG.

This made me notice StepStack though. It has no comments explaining what it's for, and the functions aren't commented. They're also dense with no line spacing. This PR is consistent, but maybe the class should be documented?

@jonmeow jonmeow added this pull request to the merge queue Dec 11, 2024
Merged via the queue into carbon-language:trunk with commit 47285b6 Dec 11, 2024
8 checks passed
@zygoloid zygoloid deleted the toolchain-format-namespace branch December 12, 2024 18:59
bricknerb pushed a commit to bricknerb/carbon-lang that referenced this pull request Dec 16, 2024
…age#4657)

For example, format the `ImplicitAs` interface as `Core.ImplicitAs`
rather than simply `ImplicitAs`.

When importing an entity in a namespace, also import a declaration of
the enclosing namespace if necessary so that we can determine its name.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants