branch: master
commit 910520ee2e6f58e8ddfc3e7362492524e0565a6f
Merge: b576cef 5ebc7b8
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>

    Merge pull request #333 from daniellandau/master
    
    Change warning message to not conflict with spec
---
 js2-mode.el |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/js2-mode.el b/js2-mode.el
index b2efce0..9515e27 100644
--- a/js2-mode.el
+++ b/js2-mode.el
@@ -1456,7 +1456,7 @@ the correct number of ARGS must be provided."
          "Compilation produced %s syntax errors.")
 
 (js2-msg "msg.var.redecl"
-         "TypeError: redeclaration of var %s.")
+         "Redeclaration of var %s.")
 
 (js2-msg "msg.const.redecl"
          "TypeError: redeclaration of const %s.")

Reply via email to