-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix typeChangedFrom of template/union to catch invalid versioning (#5191
) Fixes #4752 --------- Co-authored-by: Christopher Radek <[email protected]>
- Loading branch information
1 parent
7cde053
commit ba8c12b
Showing
3 changed files
with
119 additions
and
0 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
.chronus/changes/fix-versioning-typechanged-2024-10-25-16-56-3.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
changeKind: fix | ||
packages: | ||
- "@typespec/versioning" | ||
--- | ||
|
||
Fixes diagnostics for @typeChangedFrom to properly detect when an incompatible version is referenced inside of a template or union. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters