cryptol/tests/issues/issue494.icry.stdout
Rob Dockins e9c22ad0cf Still compute width defaulting information as before, but
use that information to emit error messages rather than warnings.

This provides more specific messages than simply allowing the
affected type variables to remain uninstantiated and failing later.
It also causes some examples that otherwise would have ambiguous
types to fail earlier.  This converts some test instances where
REPL defaulting would eventually succeed into examples that fail
outright instead.  I largely think these instances are improvements.
2020-07-02 15:04:07 -07:00

6 lines
160 B
Plaintext

Loading module Cryptol
Loading module Cryptol
Loading module Main
gt_words' : {n, m, a} (Cmp a, fin (min (1 + n) (1 + m))) =>
[n]a -> [m]a -> Bit