Improve error message when matching on struct instantiation in match
expressions
#6287
Labels
compiler: frontend
Everything to do with type checking, control flow analysis, and everything between parsing and IRgen
compiler
General compiler. Should eventually become more specific as the issue is triaged
This code:
will produce a confusing error message saying:
Improve the error message and provide useful hint, to put the struct instantiation inside of brackets:
The text was updated successfully, but these errors were encountered: