General generic-related error reporting improvements #330
Labels
analyzer
Related to semantic & design analyzers
enhancement
New feature or request
nice to have
Only if we have time
Feature description
I know this is probably a big one (but not sure), but it would be nice if the compiler could print values of relevant generic variables when reporting errors. For example in this code:
We get this moderately helpful error message:
Perhaps it would be sufficient to get all generic variables which appear in the expression and print their values. Printing values of iterators in case of nested
for
loops would be beneficial as well.The text was updated successfully, but these errors were encountered: