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

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: 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: test/codegen/expect/constructors.js
diff --git a/test/codegen/expect/constructors.js b/test/codegen/expect/constructors.js
index 305cbb6871f9082a959a4ab02a6ff346f89b8762..10c8e945a62445676f71724e6003934e20fe146d 100644
--- a/test/codegen/expect/constructors.js
+++ b/test/codegen/expect/constructors.js
@@ -139,12 +139,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']
});

Powered by Google App Engine
This is Rietveld 408576698