mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-11-24 06:52:44 +03:00
Adapt test output to new primitives.
This commit is contained in:
parent
a7b69892f1
commit
b3df205e04
@ -81,6 +81,7 @@ Symbols
|
||||
{first, last, bits} (fin last, fin bits, last >= first,
|
||||
bits >= width last) =>
|
||||
[1 + (last - first)][bits]
|
||||
fromZ : {n} (fin n, n >= 1) => Z n -> Integer
|
||||
groupBy :
|
||||
{each, parts, elem} (fin each) =>
|
||||
[each * parts]elem -> [parts][each]elem
|
||||
@ -124,6 +125,7 @@ Symbols
|
||||
{front, back, elem} (fin front) =>
|
||||
[front + back]elem -> [front]elem
|
||||
toInteger : {a} (fin a) => [a] -> Integer
|
||||
toZ : {n} (fin n, n >= 1) => Integer -> Z n
|
||||
trace : {n, a, b} (fin n) => [n][8] -> a -> b -> b
|
||||
traceVal : {n, a} (fin n) => [n][8] -> a -> a
|
||||
transpose : {a, b, c} [a][b]c -> [b][a]c
|
||||
|
@ -4,7 +4,7 @@ Loading module Main
|
||||
|
||||
[error] at ./issue290v2.cry:2:1--2:19:
|
||||
Unsolved constraints:
|
||||
a`857 == 1
|
||||
a`859 == 1
|
||||
arising from
|
||||
checking a pattern: type of 1st argument of Main::minMax
|
||||
at ./issue290v2.cry:2:8--2:11
|
||||
|
@ -25,8 +25,8 @@ Loading module test04
|
||||
[error] at ./test04.cry:3:19--3:21:
|
||||
Type mismatch:
|
||||
Expected type: ()
|
||||
Inferred type: [?n33]
|
||||
Inferred type: [?p33]
|
||||
where
|
||||
?n33 is type parameter 'bits'
|
||||
?p33 is type parameter 'bits'
|
||||
of literal or demoted expression
|
||||
at ./test04.cry:3:19--3:21
|
||||
|
Loading…
Reference in New Issue
Block a user