Idris2-boot/tests/idris2/basic030
Edwin Brady ebafddcfc9 Look for scrutinee type in case
We can work out what it should be since each case is supposed to have
the same type, so we can look ahead to the alternatives. This way, we
don't have to rely on the scrutinee alone to calculate the type of the
case block. (Idris 1 does this too but I've only just encountered the
need for it in Idris 2 now!)
2020-03-27 14:27:33 +00:00
..
arity.idr Check constructors are fully applied in case trees 2020-01-11 17:27:27 +00:00
expected Look for scrutinee type in case 2020-03-27 14:27:33 +00:00
run Check constructors are fully applied in case trees 2020-01-11 17:27:27 +00:00