about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2010-06-30 01:42:40 -0700
committerGraydon Hoare <graydon@mozilla.com>2010-06-30 01:42:40 -0700
commitdf0eebcf1e31496106da43bcde40ac4983857bb1 (patch)
tree30f1d1a1354b3866175e811f098b1bed044f0381
parent5a8d93c65282c57402f28aa84f10b5f350b4f1d4 (diff)
downloadrust-df0eebcf1e31496106da43bcde40ac4983857bb1.tar.gz
rust-df0eebcf1e31496106da43bcde40ac4983857bb1.zip
Improve error message.
-rw-r--r--src/boot/me/semant.ml3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/boot/me/semant.ml b/src/boot/me/semant.ml
index 26d38e0383a..c7536fa65bf 100644
--- a/src/boot/me/semant.ml
+++ b/src/boot/me/semant.ml
@@ -1098,8 +1098,7 @@ let project_type
 
     | (_,_) ->
         bug ()
-          "unhandled form of lval-ext in Semant."
-          "project_ty: %a indexed by %a"
+          "project_ty: bad lval-ext: %a indexed by %a"
           Ast.sprintf_ty base_ty Ast.sprintf_lval_component comp
 ;;