lean2/tests/lean/coercion1.lean.expected.out
Leonardo de Moura 4ba097a141 feat(frontends/lean): use lowercase commands, replace 'endscope' and 'endnamespace' with 'end'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-05 13:06:36 -08:00

18 lines
636 B
Text

Set: pp::colors
Set: pp::unicode
Assumed: T
Assumed: R
Assumed: f
Coercion f
variable f : T → R
coercion f
Assumed: g
Error (line: 8, pos: 0) invalid coercion declaration, frontend already has a coercion for the given types
Assumed: h
Error (line: 10, pos: 0) invalid coercion declaration, a coercion must have an arrow type (i.e., a non-dependent functional type)
Defined: T2
Defined: R2
Assumed: f2
Error (line: 14, pos: 0) invalid coercion declaration, frontend already has a coercion for the given types
Assumed: id
Error (line: 16, pos: 0) invalid coercion declaration, 'from' and 'to' types are the same