Fix tests---some variables got renumbered.

We really should fix this up so we don't print the numbers unless
there really is an ambiguity.
This commit is contained in:
Iavor Diatchki 2019-07-05 09:34:20 -07:00
parent 91b69e85cd
commit 4b5d569e09
2 changed files with 10 additions and 10 deletions

View File

@ -3,14 +3,14 @@ Loading module Cryptol
Loading module Main
[error] at ./T146.cry:1:18--6:10:
The type ?fv`874 is not sufficiently polymorphic.
It cannot depend on quantified variables: fv`858
The type ?fv`888 is not sufficiently polymorphic.
It cannot depend on quantified variables: fv`872
where
?fv`874 is type argument 'fv' of 'Main::ec_v1' at ./T146.cry:4:19--4:24
fv`858 is signature variable 'fv' at ./T146.cry:11:10--11:12
?fv`888 is type argument 'fv' of 'Main::ec_v1' at ./T146.cry:4:19--4:24
fv`872 is signature variable 'fv' at ./T146.cry:11:10--11:12
[error] at ./T146.cry:5:19--5:24:
The type ?fv`876 is not sufficiently polymorphic.
It cannot depend on quantified variables: fv`858
The type ?fv`890 is not sufficiently polymorphic.
It cannot depend on quantified variables: fv`872
where
?fv`876 is type argument 'fv' of 'Main::ec_v2' at ./T146.cry:5:19--5:24
fv`858 is signature variable 'fv' at ./T146.cry:11:10--11:12
?fv`890 is type argument 'fv' of 'Main::ec_v2' at ./T146.cry:5:19--5:24
fv`872 is signature variable 'fv' at ./T146.cry:11:10--11:12

View File

@ -4,9 +4,9 @@ Loading module Main
[error] at ./issue290v2.cry:2:1--2:19:
Unsolved constraints:
• n`855 == 1
• n`869 == 1
arising from
checking a pattern: type of 1st argument of Main::minMax
at ./issue290v2.cry:2:8--2:11
where
n`855 is signature variable 'n' at ./issue290v2.cry:1:11--1:12
n`869 is signature variable 'n' at ./issue290v2.cry:1:11--1:12