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

Unified Diff: lib/core/regexp.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 | « lib/compiler/implementation/lib/string_helper.dart ('k') | pkg/dartdoc/inline_parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/core/regexp.dart
diff --git a/lib/core/regexp.dart b/lib/core/regexp.dart
index 1cf4a9783ad497296d26bfdeedc62ad568835ed1..a301785095ba48183e203b9d7c683bf3f66e7fdc 100644
--- a/lib/core/regexp.dart
+++ b/lib/core/regexp.dart
@@ -89,7 +89,7 @@ interface RegExp extends Pattern default JSSyntaxRegExp {
* Constructs a regular expression. The default implementation of a
* [RegExp] sets [multiLine] and [ignoreCase] to false.
*/
- const RegExp(String pattern, [bool multiLine, bool ignoreCase]);
+ const RegExp(String pattern, {bool multiLine, bool ignoreCase});
/**
* Searches for the first match of the regular expression
« no previous file with comments | « lib/compiler/implementation/lib/string_helper.dart ('k') | pkg/dartdoc/inline_parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698