Make the error generated by using tuple indexing on an array more specific. #53712
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
E-mentor
Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
Attempting to compile this:
will give this error:
I was thinking that a clearer error could be something along the lines of:
and give this hint:
The text was updated successfully, but these errors were encountered: