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

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
Index: lib/compiler/implementation/tree/nodes.dart
===================================================================
--- lib/compiler/implementation/tree/nodes.dart (revision 13496)
+++ lib/compiler/implementation/tree/nodes.dart (working copy)
@@ -356,12 +356,12 @@
}
class Postfix extends NodeList {
- Postfix() : super(nodes: const EmptyLink<Node>());
+ Postfix() : super(null, const EmptyLink<Node>());
Postfix.singleton(Node argument) : super.singleton(argument);
}
class Prefix extends NodeList {
- Prefix() : super(nodes: const EmptyLink<Node>());
+ Prefix() : super(null, const EmptyLink<Node>());
Prefix.singleton(Node argument) : super.singleton(argument);
}
@@ -803,7 +803,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 ? '"' : "'";

Powered by Google App Engine
This is Rietveld 408576698