summaryrefslogtreecommitdiff
path: root/Test/dafny4/Bug129.dfy
Commit message (Collapse)AuthorAge
* Fix issue 129. When looking for a constructor for which Dafny knows how toGravatar qunyanm2016-02-02
instantiate all it arguments, don't stop as soon as one instantiable constructor is found. Instead, figure out all instantiable constructors and then pick the best among these. A simple and reasonable "best" is an instantiable constructor that requires a minimal number of already constructed type arguments, and to break ties among these, pick the first one listed.