-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Project
compiler
Describe the feature
Dear Maintainers,
I am running the simplicityhl compiler with the cli parameter
simc ---debug options.simf options.witsee content of these files here. simc version is 0.3.0 (I think so - unfortunately there is no "--version" option yet).
It is clear that the compilation must fail because of multiple errors.
$ simc --debug options.simf options.wit
Parameter `START_TIME` is missing an argument
$ simc --debug options.simf options.wit
Parameter `COLLATERAL_ASSET_ID` is missing an argument
$ simc --debug options.simf options.wit
Parameter `START_TIME` is missing an argument
$ simc --debug options.simf options.wit
Parameter `OPTION_TOKEN_ASSET` is missing an argument
$ simc --debug options.simf options.wit
Parameter `GRANTOR_TOKEN_STRIKE_PRICE` is missing an argument
$ simc --debug options.simf options.wit
Parameter `GRANTOR_TOKEN_STRIKE_PRICE` is missing an argument
$ simc --debug options.simf options.wit
Parameter `GRANTOR_TOKEN_ASSET` is missing an argument
$ simc --debug options.simf options.wit
Parameter `START_TIME` is missing an argument
$ simc --debug options.simf options.wit
Parameter `EXPIRY_TIME` is missing an argument
...From the output one can see that the compiler is complaining because of many reasons, but the output shows only one reason arbitrarily at a time, which I would name "error reporting bingo".
Furthermore there is no info in which line errors are happening.
I would like therefore request
- A better debug info
- Please return multiple errors at once (like the behaviour of rustc) which saves time when developing simplicityhl sources.
apoelstra
Metadata
Metadata
Assignees
Labels
No labels