Index: src/js/collection-iterator.js |
diff --git a/src/js/collection-iterator.js b/src/js/collection-iterator.js |
index 4367c66aa1cd1718e76f721de48398003cab8925..621d7266fc69bdeffb2d6d8cd949c062346d66c9 100644 |
--- a/src/js/collection-iterator.js |
+++ b/src/js/collection-iterator.js |
@@ -8,13 +8,21 @@ |
%CheckIsBootstrapping(); |
+// ------------------------------------------------------------------- |
+// Imports |
+ |
var GlobalMap = global.Map; |
var GlobalSet = global.Set; |
var iteratorSymbol = utils.ImportNow("iterator_symbol"); |
+var MakeTypeError; |
var MapIterator = utils.ImportNow("MapIterator"); |
var toStringTagSymbol = utils.ImportNow("to_string_tag_symbol"); |
var SetIterator = utils.ImportNow("SetIterator"); |
+utils.Import(function(from) { |
+ MakeTypeError = from.MakeTypeError; |
+}); |
+ |
// ------------------------------------------------------------------- |
function SetIteratorConstructor(set, kind) { |