anoma / juvix

A language for intent-centric and declarative decentralised applications
https://docs.juvix.org
GNU General Public License v3.0
457 stars 53 forks source link

Improve error message when top module name is wrong #2520

Open jonaprieto opened 1 year ago

jonaprieto commented 1 year ago

If the top module's name is not as expected, the error is not really helpful to fix it, as in the following picture:

image

Replace the error message with: "Expected module name: A... defined in file ... A.juvix. Actual name: B.C."

paulcadman commented 5 months ago

We agree this is a good change.