Open gabrielhdt opened 3 years ago
Are you sure about 423? sign.ml has less lines.
The assert false is line 340.
Ah it must be because I wasn't looking at master, sorry
Right, we could add some error message before assert false saying that some lpo file is maybe out of date, but we should keep the assert false, don't you think so?
Right, we could add some error message before assert false saying that some lpo file is maybe out of date, but we should keep the assert false, don't you think so?
Rather than using a fatal
?
Right, this is perhaps better to do a fatal like in sign.ml, line 272 in read.
The error is now Uncaught exception: Not_found
on line 2.
Symptoms
Lambdapi raises
assert false
when thepackage_path
of the relatedlambdapi.pkg
changes and that another file from the same package is imported (from alpo
).How to reproduce
cd
to a new directorylambdapi.pkg
with the following contentf.lp
with the following contentfr.lp
with the following contentf.lpo
withlambdapi check --gen-obj f.lp
.a
tob
, inlambadpi.pkg
andfr.lp
,fr.lp
.and you should see
Possible solution
Just mention that the generated objects are out of date?
Edit: corrected error message