https://github.com/EasyCrypt/easycrypt
Revision 9867134b2f261575437c0035a21d37446138e461 authored by Alley Stoughton on 28 February 2018, 06:58:30 UTC, committed by Pierre-Yves Strub on 28 February 2018, 06:58:30 UTC
The third stage of filtering in the definition of option_matching had
a bug, meaning that attempts to rely on it resulted in assertion failures.
But that last stage - disambiguating from right to left - was arguably
hard for users to predict, anyway. So, fixed the third stage, but
left it out of algorithm.

(If it's really desired, easy to put it back in, as now it'll
work. But do we really think users will understand why, e.g., [prover
x=1] means [prover maxlemmas=1] - because the x in maxlemmas comes
earlier when working backward as opposed to the x in maxprovers?)

This is how option disambiguation works: First filter-in those option
names having the letters of the abbreviation abv in the correct
order. Then work through the letters of abv in order, keeping
only those option names in which each successive letter appears
as early as possible
1 parent 8ab4986
History
Tip revision: 9867134b2f261575437c0035a21d37446138e461 authored by Alley Stoughton on 28 February 2018, 06:58:30 UTC
Fixed bug in SMT option matching
Tip revision: 9867134
File Mode Size
config
examples
lint
scripts
src
system
theories
.dir-locals.el -rw-r--r-- 285 bytes
.gitignore -rw-r--r-- 504 bytes
.merlin -rw-r--r-- 230 bytes
.travis.yml -rw-r--r-- 2.0 KB
COPYRIGHT -rw-r--r-- 581 bytes
COPYRIGHT.yaml -rw-r--r-- 596 bytes
MANIFEST -rw-r--r-- 690 bytes
Makefile -rw-r--r-- 5.0 KB
Makefile.system -rw-r--r-- 478 bytes
README.md -rw-r--r-- 6.1 KB
_tags -rw-r--r-- 791 bytes
myocamlbuild.ml -rw-r--r-- 2.3 KB

README.md

back to top