Index: src/promise.js |
diff --git a/src/promise.js b/src/promise.js |
index f119a0a945f12cca93e8d5426893fe8b6fec222f..97fc69cd266573b956399c129ad5c25dc95ed462 100644 |
--- a/src/promise.js |
+++ b/src/promise.js |
@@ -88,7 +88,7 @@ function PromiseCoerce(constructor, x) { |
if (IS_CALLABLE(then)) { |
var deferred = %_CallFunction(constructor, PromiseDeferred); |
try { |
- %_CallFunction(x, deferred.resolve, deferred.reject, then); |
+ %_Call(then, x, deferred.resolve, deferred.reject); |
} catch(r) { |
deferred.reject(r); |
} |