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

Unified Diff: pkg/polymer/test/build/script_compactor_test.dart

Issue 240633004: Fix bug in how we handle invoke expressions (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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/polymer/lib/src/build/script_compactor.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/test/build/script_compactor_test.dart
diff --git a/pkg/polymer/test/build/script_compactor_test.dart b/pkg/polymer/test/build/script_compactor_test.dart
index 862ceb3be523122fc8134b224c9b17c987776c73..cfb82e65dd29c8138d827afa63cb41ed0f8d3800 100644
--- a/pkg/polymer/test/build/script_compactor_test.dart
+++ b/pkg/polymer/test/build/script_compactor_test.dart
@@ -292,6 +292,8 @@ codegenTests(phases) {
'<polymer-element name="foo-bar"><template>'
'<div>{{a.node}}</div>'
'<div>{{anotherNode}}</div>'
+ '<div>{{a.call1(a)}}</div>'
+ '<div>{{call2(a)}}</div>'
'<div class="{{an.attribute}}"></div>'
'<a href="path/{{within.an.attribute}}/foo/bar"></a>'
'<div data-attribute="{{anotherAttribute}}"></div>'
@@ -322,6 +324,8 @@ codegenTests(phases) {
#anotherAttribute: (o) => o.anotherAttribute,
#anotherNode: (o) => o.anotherNode,
#attribute: (o) => o.attribute,
+ #call1: (o) => o.call1,
+ #call2: (o) => o.call2,
#here: (o) => o.here,
#intToStringTransformer: (o) => o.intToStringTransformer,
#is: (o) => o.is,
@@ -345,6 +349,8 @@ codegenTests(phases) {
#anotherAttribute: r'anotherAttribute',
#anotherNode: r'anotherNode',
#attribute: r'attribute',
+ #call1: r'call1',
+ #call2: r'call2',
#here: r'here',
#intToStringTransformer: r'intToStringTransformer',
#is: r'is',
« no previous file with comments | « pkg/polymer/lib/src/build/script_compactor.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698