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

Unified Diff: frog/lib/corelib_impl.dart

Issue 8534001: Adds typechecking of return values (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: better runtime checks 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 | « frog/gen.dart ('k') | frog/member.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/lib/corelib_impl.dart
diff --git a/frog/lib/corelib_impl.dart b/frog/lib/corelib_impl.dart
index 3b249203ac22a781baa6a88a2f1e21d264f37bc8..e08e38c59950532fc4da9255666a21dee20e270f 100644
--- a/frog/lib/corelib_impl.dart
+++ b/frog/lib/corelib_impl.dart
@@ -235,9 +235,9 @@ class JSSyntaxRegExp implements RegExp {
final bool multiLine;
final bool ignoreCase;
- const JSSyntaxRegExp(String pattern,
- [bool multiLine = false, bool ignoreCase = false]):
- this._create(pattern, (multiLine ? 'm' : '') + (ignoreCase ? 'i' : ''));
+ const JSSyntaxRegExp(String pattern, [bool multiLine, bool ignoreCase]):
Jennifer Messerly 2011/11/11 02:36:01 this is an unrelated fix I noticed in co19 checked
+ this._create(pattern,
+ (multiLine == true ? 'm' : '') + (ignoreCase == true ? 'i' : ''));
const JSSyntaxRegExp._create(String pattern, String flags) native
'''this.re = new RegExp(pattern, flags);
« no previous file with comments | « frog/gen.dart ('k') | frog/member.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698