MiniAgda-0.2014.1.9: test/fail/incompleteSizePattern1.err
MiniAgda by Andreas Abel and Karl Mehltretter
--- opening "incompleteSizePattern1.ma" ---
--- scope checking ---
--- type checking ---
type Empty : Set
term bad' : .[Size] -> Empty
error during typechecking:
bad'
/// clause 1
/// pattern $i
/// checkPattern $i : matching on size, checking that target .[Size] -> Empty ends in correct coinductive sized type
/// new <= #
/// endsInSizedCo: Empty
/// endsInSizedCo: target Empty of corecursive function is neither a CoSet or codata of size nor a tuple type