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

Unified Diff: frog/corejs.dart

Issue 8567016: Fix a spurious warning in Frog selfhost (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: updated Created 9 years, 1 month 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 | « no previous file | frog/frogsh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/corejs.dart
diff --git a/frog/corejs.dart b/frog/corejs.dart
index 818566f88d60cae236bc98af802ff0dc21d604c2..f254a51cfcf05ee0bbbf6aa79c6f7c9e2cd4e43f 100644
--- a/frog/corejs.dart
+++ b/frog/corejs.dart
@@ -291,7 +291,7 @@ function $toDartException(e) {
// it's still decent on other browsers.
w.writeln(@"""
function $notnull_bool(test) {
- return (test === true || test === false) ? test : test.is$bool();
+ return (test === true || test === false) ? test : test.is$bool(); // TypeError
}""");
}
« no previous file with comments | « no previous file | frog/frogsh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698