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

Unified Diff: runtime/lib/regexp_patch.dart

Issue 10910253: Change RegExp constructor to insist on proper named optional parameters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update co19/dart2js status. Created 8 years, 3 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
« no previous file with comments | « pkg/dartdoc/inline_parser.dart ('k') | samples/markdown/inline_parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/regexp_patch.dart
diff --git a/runtime/lib/regexp_patch.dart b/runtime/lib/regexp_patch.dart
index f6167d992cb75149fe518accaf4de242b5e5a2c9..92acb79d571c080b000355e39e5041fa0adc7fdd 100644
--- a/runtime/lib/regexp_patch.dart
+++ b/runtime/lib/regexp_patch.dart
@@ -62,8 +62,8 @@ class _JSRegExpMatch implements Match {
patch class JSSyntaxRegExp {
/* patch */ const factory JSSyntaxRegExp(
String pattern,
- [bool multiLine = false,
- bool ignoreCase = false]) native "JSSyntaxRegExp_factory";
+ {bool multiLine: false,
+ bool ignoreCase: false}) native "JSSyntaxRegExp_factory";
/* patch */ Match firstMatch(String str) {
List match = _ExecuteMatch(str, 0);
« no previous file with comments | « pkg/dartdoc/inline_parser.dart ('k') | samples/markdown/inline_parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698