hirosystems / clarinet

Write, test and deploy high-quality smart contracts to the Stacks blockchain and Bitcoin.
https://hiro.so/clarinet
GNU General Public License v3.0
298 stars 131 forks source link

Improve checker errors #457

Open obycode opened 2 years ago

obycode commented 2 years ago

One of the biggest challenges for new users is still error messages that are not very helpful or don't point to the right place. The new parser solved this problem for parsing errors, but the remaining errors coming from the type checker and others still have problems.

obycode commented 2 years ago

Troubleshooting guide, suggestions, etc. could also go along with this.

sabbyanandan commented 2 years ago

Relates to https://github.com/hirosystems/docs/issues/87.

saralab commented 1 year ago

Feedback from SeFo Finance: “For instance, the debugger of the Clarity extension on vscode doesn't indicate which line the error occurs. Instead, it shows the alert message on the first line of the program. Another thing is that the error message is not clear enough to help the dev team handle it.”