lean2/tests/lean/sig2.lean.expected.out
Leonardo de Moura a2d2e36f04 refactor(frontends/lean): remove notation for creating tuples
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-02-10 09:03:42 -08:00

26 lines
589 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
sig x : , x > 0 : Type
pair 10 20 :
pair 10 : Bool
pair 20 : Bool
pair 20 : Bool
pair : Bool Bool
pair : Bool Bool
Assumed: a
Assumed: Ha
Defined: NZ
NZ : Type
pair a Ha : NZ : sig x : , 1 ≤ x
sig2.lean:13:6: error: type mismatch in the 1st argument of the pair
pair 20
Pair type:
Argument type:
Bool
sig2.lean:14:6: error: type mismatch in the 2nd argument of the pair
pair 20
Pair type:
Bool Bool
Argument type: