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

Unified Diff: lib/src/js/nodes.dart

Issue 1138793002: Tag closures with their types (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Rebase Created 5 years, 7 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/src/js/nodes.dart
diff --git a/lib/src/js/nodes.dart b/lib/src/js/nodes.dart
index edad282582a57ecb9f196b444fd4e11ef46b39c7..f66db108dc198855e33cc0928e00cd446ad347d7 100644
--- a/lib/src/js/nodes.dart
+++ b/lib/src/js/nodes.dart
@@ -1134,11 +1134,12 @@ class ArrayHole extends Expression {
class ObjectInitializer extends Expression {
final List<Property> properties;
+ final bool vertical;
Jennifer Messerly 2015/05/19 18:19:01 This could be computed: bool _vertical; bool get
Leaf 2015/05/19 22:31:13 Done.
/**
* Constructs a new object-initializer containing the given [properties].
*/
- ObjectInitializer(this.properties);
+ ObjectInitializer(this.properties, {this.vertical: false});
accept(NodeVisitor visitor) => visitor.visitObjectInitializer(this);

Powered by Google App Engine
This is Rietveld 408576698