Show context for reserved variable warnings (#85324)

* Show context for reserved variable warnings

* Update integration test

* Use var origin not value origin

* Use a list

* Ensure tagged varname is used

(cherry picked from commit d922398c4d)
This commit is contained in:
Matt Clay
2025-06-24 15:18:16 -07:00
parent 11ad0ae758
commit b6ac61b487
4 changed files with 16 additions and 9 deletions
@@ -0,0 +1,2 @@
minor_changes:
- variables - Warnings about reserved variable names now show context where the variable was defined.