Index: lib/runtime/_errors.js |
diff --git a/lib/runtime/_errors.js b/lib/runtime/_errors.js |
index 32b6ae01a8e1c245d94fa64b0d5f227e4b57f21f..0bb1a0f903cd1382615380a2c6c61e1d369deef5 100644 |
--- a/lib/runtime/_errors.js |
+++ b/lib/runtime/_errors.js |
@@ -9,23 +9,24 @@ |
dart_library.library('dart_runtime/_errors', null, /* Imports */[ |
], /* Lazy Imports */[ |
+ 'dart_runtime/_operations', |
'dart/core', |
'dart/_js_helper' |
-], function(exports, core, _js_helper) { |
+], function(exports, operations, core, _js_helper) { |
'use strict'; |
function throwNoSuchMethod(obj, name, pArgs, nArgs, extras) { |
- throw new core.NoSuchMethodError(obj, name, pArgs, nArgs, extras); |
+ operations.throw(new core.NoSuchMethodError(obj, name, pArgs, nArgs, extras)); |
vsm
2015/07/24 15:01:38
Fixing these by hand along the lines of previous c
|
} |
exports.throwNoSuchMethod = throwNoSuchMethod; |
function throwCastError(actual, type) { |
- throw new _js_helper.CastErrorImplementation(actual, type); |
+ operations.throw(new _js_helper.CastErrorImplementation(actual, type)); |
} |
exports.throwCastError = throwCastError; |
function throwAssertionError() { |
- throw new core.AssertionError(); |
+ operations.throw(new core.AssertionError()); |
} |
exports.throwAssertionError = throwAssertionError; |
}); |