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

Unified Diff: sdk/lib/_internal/js_runtime/lib/js_helper.dart

Issue 2576113002: fix assert with message (Closed)
Patch Set: remove --assert-message flag Created 4 years 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
« no previous file with comments | « pkg/compiler/lib/src/resolution/members.dart ('k') | tests/language/language_dart2js.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/js_runtime/lib/js_helper.dart
diff --git a/sdk/lib/_internal/js_runtime/lib/js_helper.dart b/sdk/lib/_internal/js_runtime/lib/js_helper.dart
index f46975eb8f9b96f2f413d4e776d7c46458a7c091..a80f0e243ae5db915c12811c786ca1ab66a4ada3 100644
--- a/sdk/lib/_internal/js_runtime/lib/js_helper.dart
+++ b/sdk/lib/_internal/js_runtime/lib/js_helper.dart
@@ -4049,10 +4049,9 @@ void mainHasTooManyParameters() {
}
class _AssertionError extends AssertionError {
- final _message;
- _AssertionError(this._message);
+ _AssertionError(Object message) : super(message);
- String toString() => "Assertion failed: " + Error.safeToString(_message);
+ String toString() => "Assertion failed: " + Error.safeToString(message);
}
« no previous file with comments | « pkg/compiler/lib/src/resolution/members.dart ('k') | tests/language/language_dart2js.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698