Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(346)

Unified Diff: src/harmony-spread.js

Issue 1099573002: Migrate error messages, part 4 (v8natives.js). (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix wrong assertion Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/harmony-spread.js
diff --git a/src/harmony-spread.js b/src/harmony-spread.js
index 48972fad08ec48ed37bef4b8a04d56916da56a55..8bf47e33aa6144223e535edcac07ffa05dbf8b67 100644
--- a/src/harmony-spread.js
+++ b/src/harmony-spread.js
@@ -22,7 +22,7 @@ function SpreadArguments() {
function SpreadIterable(collection) {
if (IS_NULL_OR_UNDEFINED(collection)) {
- throw MakeTypeError("not_iterable", [collection]);
+ throw MakeTypeError(kNotIterable, collection);
}
var args = new InternalArray();
« no previous file with comments | « no previous file | src/messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698