blob: 3b8ee15948529295457b6acf5d6edd032cfa341f [file]
/-
The derive handlers should manage both inductives and not ignore the second one,
Fixes `#3057`
-/
mutual
inductive Tree : Type where
| node : ListTree → Tree
deriving Repr, DecidableEq, BEq, Hashable, Ord
inductive ListTree : Type where
| nil : ListTree
| cons : Tree → ListTree → ListTree
deriving Repr, DecidableEq, BEq, Hashable, Ord
end
#synth Repr Tree
#synth Repr ListTree
#synth DecidableEq Tree
#synth DecidableEq ListTree
#synth BEq Tree
#synth BEq ListTree
#synth Hashable Tree
#synth Hashable ListTree
#synth Ord Tree
#synth Ord ListTree