[Bug]: Incorrect type name for immutable types in error messages #38505
Labels
Area/Diagnostics
Issues related Diagnostics reported by the Compiler. #Compiler
Planning/SwanLakeDump
All issues planned for Swan Lake GA release
Team/CompilerFE
All issues related to Language implementation and Compiler, this exclude run times.
Type/Bug
Milestone
Description
Gives
cannot update 'readonly' value of type 'ReadOnlyStudent'
ideally it should givecannot update 'readonly' value of type '(Student & readonly)'
. This is because we maintainsymTable.immutableTypeMaps
. Need to revisit thisSteps to Reproduce
No response
Affected Version(s)
No response
OS, DB, other environment details and versions
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: