Index: src/js/promise.js |
diff --git a/src/js/promise.js b/src/js/promise.js |
index b3ff059cde935c33685d96a9719b3e8331f94ffe..ab9ffd8a3aa205a66617ddf7870a653b3c235891 100644 |
--- a/src/js/promise.js |
+++ b/src/js/promise.js |
@@ -12,6 +12,7 @@ |
// Imports |
var InternalArray = utils.InternalArray; |
+var MakeTypeError; |
var promiseCombinedDeferredSymbol = |
utils.ImportNow("promise_combined_deferred_symbol"); |
var promiseHasHandlerSymbol = |
@@ -24,6 +25,10 @@ var promiseStatusSymbol = utils.ImportNow("promise_status_symbol"); |
var promiseValueSymbol = utils.ImportNow("promise_value_symbol"); |
var toStringTagSymbol = utils.ImportNow("to_string_tag_symbol"); |
+utils.Import(function(from) { |
+ MakeTypeError = from.MakeTypeError; |
+}); |
+ |
// ------------------------------------------------------------------- |
// Status values: 0 = pending, +1 = resolved, -1 = rejected |