lean2/tests/lean/let4.lean.expected.out
Leonardo de Moura f7c7dd4ed4 feat(frontends/lean): include filename in error messages, use GNU error message style
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-09 11:01:27 -08:00

24 lines
770 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Set: pp::colors
Set: pp::unicode
Imported 'Int'
let b := , a : := b in a
Assumed: vector
Assumed: const
let a := 10, v1 := const a , v2 := v1 in v2 : vector Bool 10
let a := 10, v1 : vector Bool a := const a , v2 : vector Bool a := v1 in v2
let a := 10, v1 : vector Bool a := const a , v2 : vector Bool a := v1 in v2 : vector Bool 10
let4.lean:32:26 error: type mismatch at definition 'v2', expected type
vector a
Given type:
vector Bool a
Assumed: foo
Coercion foo
let4.lean:41:26 error: type mismatch at definition 'v2', expected type
vector a
Given type:
vector Bool a
Set: lean::pp::coercion
let4.lean:49:26 error: type mismatch at definition 'v2', expected type
vector a
Given type:
vector Bool a