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

Unified Diff: lib/compiler/implementation/tree/nodes.dart

Issue 11090016: Change core lib, dart2js, and more for new optional parameters syntax (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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/tools/mini_parser.dart ('k') | lib/compiler/implementation/tree/unparser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/tree/nodes.dart
===================================================================
--- lib/compiler/implementation/tree/nodes.dart (revision 13683)
+++ lib/compiler/implementation/tree/nodes.dart (working copy)
@@ -357,12 +357,12 @@
}
class Postfix extends NodeList {
- Postfix() : super(nodes: const Link<Node>());
+ Postfix() : super(null, const Link<Node>());
Postfix.singleton(Node argument) : super.singleton(argument);
}
class Prefix extends NodeList {
- Prefix() : super(nodes: const Link<Node>());
+ Prefix() : super(null, const Link<Node>());
Prefix.singleton(Node argument) : super.singleton(argument);
}
@@ -804,7 +804,7 @@
final bool raw;
final int leftQuoteCharCount;
final int quote;
- const StringQuoting(this.quote, [bool raw, int leftQuoteLength])
+ const StringQuoting(this.quote, {bool raw, int leftQuoteLength})
: this.raw = raw, this.leftQuoteCharCount = leftQuoteLength;
String get quoteChar => quote === $DQ ? '"' : "'";
« no previous file with comments | « lib/compiler/implementation/tools/mini_parser.dart ('k') | lib/compiler/implementation/tree/unparser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698