lean2/tests/lean/choice_expl.lean
Leonardo de Moura 8719dff361 fix(frontends/lean): distribute '@' over choice
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-08-27 16:31:18 -07:00

14 lines
217 B
Text

namespace N1
definition pr {A : Type} (a b : A) := a
end N1
namespace N2
definition pr {A : Type} (a b : A) := b
end N2
using N1 N2
variable N : Type.{1}
variables a b : N
check @pr
check @pr N a b
check pr a b