Zilliqa / scilla

Scilla - A Smart Contract Intermediate Level Language
https://scilla-lang.org
GNU General Public License v3.0
240 stars 79 forks source link

Report precise locations in evaluator error messages #1135

Open anton-trunov opened 2 years ago

anton-trunov commented 2 years ago

It can report the 0:0 location in a number of cases. See #1134 for example.

jubnzv commented 1 year ago

It was partially closed by #1133.

This PR describes other cases when we report 0:0 locations:

We should also find more cases when we report 0:0, including such messages from the evaluator.

Probably, the simplest way to do this is to process the expected output of tests (using jq queries for example) and deal with them on a case-by-case basis.

jjcnn commented 1 year ago

Moving to Scilla 0.14.0.