summaryrefslogtreecommitdiff
path: root/src/urweb.grm
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2010-12-23 17:46:40 -0500
committerGravatar Adam Chlipala <adam@chlipala.net>2010-12-23 17:46:40 -0500
commit4dcddbb299324d2c21d591600dfba0845d93cbfe (patch)
tree31bbf2f979aa12d31eb3977bb6c0cdfe2c57bae9 /src/urweb.grm
parentaefcace126000897c60a5312082807d213bbc435 (diff)
[De]serialization of times in JavaScript; proper integer division in JavaScript; Basis.crypt; Top.mkRead'; more aggressive Mono-level inlining, for values of function-y types
Diffstat (limited to 'src/urweb.grm')
-rw-r--r--src/urweb.grm4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/urweb.grm b/src/urweb.grm
index 21c4a50c..5803f445 100644
--- a/src/urweb.grm
+++ b/src/urweb.grm
@@ -1232,7 +1232,9 @@ eterm : LPAREN eexp RPAREN (#1 eexp, s (LPARENleft, RPARENright))
val e = (EApp (e, texp), loc)
in
if length fields <> length sqlexps then
- ErrorMsg.errorAt loc "Length mismatch in INSERT field specification"
+ ErrorMsg.errorAt loc ("Length mismatch in INSERT field specification ("
+ ^ Int.toString (length fields)
+ ^ " vs. " ^ Int.toString (length sqlexps) ^ ")")
else
();
(EApp (e, (ERecord (ListPair.zip (fields, sqlexps)), loc)), loc)