Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(370)

Unified Diff: test/codegen/expect/expect.js

Issue 1233553005: Fixes #254 - Better stacktrace support (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Added utilities to help debugging Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/codegen/expect/expect.js
diff --git a/test/codegen/expect/expect.js b/test/codegen/expect/expect.js
index cb54e7d28b7505a553f1f76e255a3eec38c46b5a..ff5e1d1deb8fb281eeadad6489cbb8823b663c6f 100644
--- a/test/codegen/expect/expect.js
+++ b/test/codegen/expect/expect.js
@@ -267,7 +267,7 @@ dart_library.library('expect', null, /* Imports */[
return reason == null ? "" : `, '${reason}'`;
}
static _fail(message) {
- throw new ExpectException(message);
+ dart.throw(new ExpectException(message));
}
}
dart.setSignature(Expect, {

Powered by Google App Engine
This is Rietveld 408576698