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

Unified Diff: test/codegen/expect/constructors.js

Issue 1145283002: Use short array syntax in method signatures (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Address comments 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
« no previous file with comments | « test/codegen/expect/cascade.js ('k') | test/codegen/expect/covariance.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/constructors.js
diff --git a/test/codegen/expect/constructors.js b/test/codegen/expect/constructors.js
index 72f5110a72de45b2f8f0f8b21f83ec869f22c342..0c356b0f888efc6e325a8a306c1494d5db04cb1d 100644
--- a/test/codegen/expect/constructors.js
+++ b/test/codegen/expect/constructors.js
@@ -123,12 +123,12 @@ var core = dart.import(core);
}
dart.setSignature(Q, {
methods: () => ({
- bar: dart.functionType(core.String, []),
- bar2: dart.functionType(core.String, [])
+ bar: [core.String, []],
+ bar2: [core.String, []]
}),
statics: () => ({
- foo: dart.functionType(Q$(), []),
- baz: dart.functionType(core.String, [])
+ foo: [Q$(), []],
+ baz: [core.String, []]
}),
names: ['foo', 'baz']
});
« no previous file with comments | « test/codegen/expect/cascade.js ('k') | test/codegen/expect/covariance.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698