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 issues with multiple copies of compiler core being loaded #1627

Merged
merged 4 commits into from
Feb 9, 2023

Conversation

nguerrera
Copy link
Contributor

@nguerrera nguerrera commented Feb 7, 2023

Fix #1625

@github-actions
Copy link
Contributor

github-actions bot commented Feb 7, 2023

Changes in this PR will be published to the following url to try(check status of Cadl Pull Request Try It pipeline for publish status):
Playground: https://cadlplayground.z22.web.core.windows.net/prs/1627/

Website: https://cadlwebsite.z1.web.core.windows.net/prs/1627/

tjprescott
tjprescott previously approved these changes Feb 7, 2023
@nguerrera
Copy link
Contributor Author

I pushed more changes that actually fix #1625, but it's smelly and I'm not sure about the best way to handle it better or if this is OK.

@nguerrera nguerrera dismissed tjprescott’s stale review February 7, 2023 17:21

Dismissing approval since I substantially added to this. :)

@nguerrera nguerrera changed the title Use shared state symbol for projectedName Fix issues with multiple copies of compiler core being loaded Feb 7, 2023
"changes": [
{
"packageName": "@cadl-lang/rest",
"comment": "Fix issues with multiple copies of compiler core being loaded.",
Copy link
Member

Choose a reason for hiding this comment

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

My only thought is it might be nice to be a bit more explicit about what you're fixing here.

@nguerrera nguerrera enabled auto-merge (squash) February 9, 2023 22:10
@nguerrera nguerrera merged commit 827f863 into microsoft:main Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inconsistent behavior of cadl compile depending on which repo I run an emitter from
4 participants