Mercurial > urweb
diff src/elaborate.sml @ 341:389399d65331
Crud update form
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 14 Sep 2008 19:03:55 -0400 |
parents | 075b36dbb1a4 |
children | b85e6ba56618 |
line wrap: on
line diff
--- a/src/elaborate.sml Sun Sep 14 15:20:53 2008 -0400 +++ b/src/elaborate.sml Sun Sep 14 19:03:55 2008 -0400 @@ -1321,7 +1321,9 @@ | SOME (_, cons) => dtype cons end | L'.CError => (true, gs) - | _ => raise Fail "isTotal: Not a datatype" + | c => + (prefaces "Not a datatype" [("c", p_con env (c, ErrorMsg.dummySpan))]; + raise Fail "isTotal: Not a datatype") end | Record _ => (List.all (fn c2 => coverageImp (c, c2)) (enumerateCases t), []) in