From d6c7be760bbe12fd1dfc416fc7598e3549564e61 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Tue, 17 Feb 2015 09:17:06 +1100 Subject: [PATCH] update settersInvalidParamLength error message - closes #797 --- lib/babel/messages.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/babel/messages.js b/lib/babel/messages.js index 36ac74c64b..475e667136 100644 --- a/lib/babel/messages.js +++ b/lib/babel/messages.js @@ -9,7 +9,7 @@ exports.messages = { scopeDuplicateDeclaration: "Duplicate declaration $1", undeclaredVariable: "Reference to undeclared variable $1", undeclaredVariableSuggestion: "Reference to undeclared variable $1 - did you mean $2?", - settersInvalidParamLength: "Setters must have only one parameter", + settersInvalidParamLength: "Setters must have exactly one parameter", noAssignmentsInForHead: "No assignments allowed in for-in/of head", expectedMemberExpressionOrIdentifier: "Expected type MemeberExpression or Identifier", invalidParentForThisNode: "We don't know how to handle this node within the current parent - please open an issue",