mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-12-11 07:00:49 +03:00
e9c22ad0cf
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.
6 lines
160 B
Plaintext
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
|