Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use languageVersion 2.0 if types or functions are imported via wildca…
…rd (Azure#12898) Resolves Azure#12897 Bicep should be targeting languageVersion 2.0 if any types or functions are imported, but the current check will miss cases where those imports are performed using a wildcard (`import * as foo...`) instead of by name (`import {foo, bar} from ...`). The check looks at a model's symbol table, and wildcard imports create a different kind of symbol. ###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/Azure/bicep/pull/12898)
- Loading branch information