diff options
author | 2010-12-23 17:46:40 -0500 | |
---|---|---|
committer | 2010-12-23 17:46:40 -0500 | |
commit | 38d3bc508b3b882e81599bdb0e1d4a2572c23dd0 (patch) | |
tree | 31bbf2f979aa12d31eb3977bb6c0cdfe2c57bae9 /src/urweb.grm | |
parent | 867a11af44827af8974250e6dbb5e96b6268b44f (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.grm | 4 |
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) |