Index: src/js/spread.js |
diff --git a/src/js/spread.js b/src/js/spread.js |
index 82ea83959853634d274089d13b54bc4db6918b01..39b12e7a8e0dbf4d9c3234a970583b14071527be 100644 |
--- a/src/js/spread.js |
+++ b/src/js/spread.js |
@@ -9,11 +9,6 @@ |
// ------------------------------------------------------------------- |
// Imports |
var InternalArray = utils.InternalArray; |
-var MakeTypeError; |
- |
-utils.Import(function(from) { |
- MakeTypeError = from.MakeTypeError; |
-}); |
// ------------------------------------------------------------------- |
@@ -35,7 +30,7 @@ function SpreadArguments() { |
function SpreadIterable(collection) { |
if (IS_NULL_OR_UNDEFINED(collection)) { |
- throw MakeTypeError(kNotIterable, collection); |
+ throw %make_type_error(kNotIterable, collection); |
} |
var args = new InternalArray(); |