Mercurial > urweb
diff src/jscomp.sml @ 834:74e9e7642f08
Do 'open constraints' automatically; fix sourceless <cselect> monoize bug; Monad library module
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 02 Jun 2009 11:50:53 -0400 |
parents | 20fe00fd81da |
children | b0a85cbefed2 |
line wrap: on
line diff
--- a/src/jscomp.sml Sun May 31 15:25:27 2009 -0400 +++ b/src/jscomp.sml Tue Jun 02 11:50:53 2009 -0400 @@ -374,10 +374,8 @@ ((EApp ((ENamed n', loc), e), loc), st) end) - | _ => raise CantEmbed t - (*(EM.errorAt loc "Don't know how to embed type in JavaScript"; - Print.prefaces "Can't embed" [("t", MonoPrint.p_typ MonoEnv.empty t)]; - (str loc "ERROR", st))*) + | _ => ((*Print.prefaces "Can't embed" [("t", MonoPrint.p_typ MonoEnv.empty t)];*) + raise CantEmbed t) fun unurlifyExp loc (t : typ, st) = case #1 t of