Skip to content

Avoid assigning invalid cyclic types to declarations - #14874

Merged
Anthony Martin (anthony-c-martin) merged 1 commit into
mainfrom
ant/issue14867
Aug 22, 2024
Merged

Anthony Martin (anthony-c-martin) merged 1 commit into
mainfrom
ant/issue14867

Conversation

@anthony-c-martin

@anthony-c-martin Anthony Martin (anthony-c-martin) commented Aug 22, 2024 •

Copy link
Copy Markdown
Member

Closes #14867

Microsoft Reviewers: Open in CodeFlow

@github-actions

github-actions Bot commented Aug 22, 2024 •

Copy link
Copy Markdown
Contributor

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

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

@github-actions

github-actions Bot commented Aug 22, 2024 •

Copy link
Copy Markdown
Contributor

Dotnet Test Results

   12 files   -     96     12 suites   - 96   2m 34s ⏱️ - 30m 57s
3 021 tests  -  8 043  3 021 ✅  -  8 042  0 💤 ±0  0 ❌  - 1 
3 023 runs   - 35 769  3 023 ✅  - 35 768  0 💤 ±0  0 ❌  - 1 

Results for commit 0cd2c5f. ± Comparison against base commit 68f9bca.

♻️ This comment has been updated with latest results.

@anthony-c-martin Anthony Martin (anthony-c-martin) changed the title Fix for issue 14867 Avoid assigning invalid types to declarations Aug 22, 2024
@anthony-c-martin Anthony Martin (anthony-c-martin) changed the title Avoid assigning invalid types to declarations Avoid assigning invalid cyclic types to declarations Aug 22, 2024

@jeskew Jonny Eskew (jeskew) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice! Glad to see this check move from EmitLimitationCalculator.

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.

Fun with Dick and Jane and completion with invalid recursive types (server crashes)

2 participants