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

Use imported symbol identifiers rather than identity in memory to deduplicate imports when building closure #14615

Merged
merged 5 commits into from
Jul 25, 2024

Conversation

jeskew
Copy link
Member

@jeskew jeskew commented Jul 21, 2024

Resolves #14196

Microsoft Reviewers: Open in CodeFlow

Copy link
Contributor

github-actions bot commented Jul 21, 2024

Test this change out locally with the following install scripts (Action run 10096036783)

VSCode
  • Mac/Linux
    bash <(curl -Ls https://aka.ms/bicep/nightly-vsix.sh) --run-id 10096036783
  • Windows
    iex "& { $(irm https://aka.ms/bicep/nightly-vsix.ps1) } -RunId 10096036783"
Azure CLI
  • Mac/Linux
    bash <(curl -Ls https://aka.ms/bicep/nightly-cli.sh) --run-id 10096036783
  • Windows
    iex "& { $(irm https://aka.ms/bicep/nightly-cli.ps1) } -RunId 10096036783"

Copy link
Contributor

github-actions bot commented Jul 21, 2024

Dotnet Test Results

    72 files   -     36      72 suites   - 36   24m 48s ⏱️ - 6m 57s
10 970 tests  -     18  10 970 ✅  -     18  0 💤 ±0  0 ❌ ±0 
25 820 runs   - 12 900  25 820 ✅  - 12 900  0 💤 ±0  0 ❌ ±0 

Results for commit d257b25. ± Comparison against base commit d190e24.

♻️ This comment has been updated with latest results.

…as dictionary key in ImportClosure representation.
@jeskew jeskew requested a review from a team July 22, 2024 12:18
jeskew added 2 commits July 22, 2024 11:53
Renaming some of the records that were private to ImportClosureInfo created too much noise in the PR and obscured the changes that were being made. Names can be improved in a follow-up PR that does not alter behavior.
@jeskew jeskew merged commit aa4bdb7 into main Jul 25, 2024
44 checks passed
@jeskew jeskew deleted the jeskew/14196 branch July 25, 2024 14:29
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.

Importing types from a common module causes An item with the same key has already been added exception
2 participants