diff options
author | 2010-03-04 13:47:16 -0500 | |
---|---|---|
committer | 2010-03-04 13:47:16 -0500 | |
commit | 05f30cc002005dcbd3f0166d630e7e2e987bd59c (patch) | |
tree | 59d474ae7fde02a0d0cd787a576b3f4d25170106 /src | |
parent | 3f34d0b6e326a55cc4cc4373f98f8f109b7a55d6 (diff) |
Louder jscomp; toUpper/Lower fix for JavaScript
Diffstat (limited to 'src')
-rw-r--r-- | src/jscomp.sml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/jscomp.sml b/src/jscomp.sml index ed913168..1e11fa32 100644 --- a/src/jscomp.sml +++ b/src/jscomp.sml @@ -1,4 +1,4 @@ -(* Copyright (c) 2008, Adam Chlipala +(* Copyright (c) 2008-2010, Adam Chlipala * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -1173,7 +1173,9 @@ fun process file = | EJavaScript (m, e') => (foundJavaScript := true; jsExp m outer (e', st) - handle CantEmbed t => ((*Print.preface ("Can't embed", MonoPrint.p_typ MonoEnv.empty t);*) + handle CantEmbed t => ((*ErrorMsg.errorAt loc "Unable to embed type in JavaScript";*) + Print.preface ("Can't embed type in JavaScript", + MonoPrint.p_typ MonoEnv.empty t); (e, st))) | ESignalReturn e => |