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

Fix potentially ambiguous System.Object in _Imports.razor #10999

Merged
merged 3 commits into from
Oct 14, 2024

Conversation

jjonescz
Copy link
Member

@jjonescz jjonescz commented Oct 10, 2024

See the added test and the second commit for the behavior change (previously it would fail to compile because of System.Object being there without any global:: prefix). Instead of global::-prefixing it, I chose to use the C# object keyword, because it's shorter (and also more unambiguous? I'm not sure).

I plan to look for other similar bugs in the codebase and open follow up PRs if I find any.

@jjonescz jjonescz added the area-compiler Umbrella for all compiler issues label Oct 10, 2024
@jjonescz jjonescz marked this pull request as ready for review October 10, 2024 13:07
@jjonescz jjonescz requested a review from a team as a code owner October 10, 2024 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-compiler Umbrella for all compiler issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants