lean2/tests/lean/let4.lean.expected.out

25 lines
779 B
Text
Raw Normal View History

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
Error (line: 32, pos: 26) type mismatch at definition 'v2', expected type
vector a
Given type:
vector Bool a
Assumed: foo
Coercion foo
Error (line: 41, pos: 26) type mismatch at definition 'v2', expected type
vector a
Given type:
vector Bool a
Set: lean::pp::coercion
Error (line: 49, pos: 26) type mismatch at definition 'v2', expected type
vector a
Given type:
vector Bool a