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

Unified Diff: test/codegen/expect/names.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/names.js
diff --git a/test/codegen/expect/names.js b/test/codegen/expect/names.js
index 84f5410e6795aaf3ae37697fcf368e84194934be..87ff6d90bd1eebf9a4121bb10dd310ae6f1dd6b8 100644
--- a/test/codegen/expect/names.js
+++ b/test/codegen/expect/names.js
@@ -10,7 +10,7 @@ var core = dart.import(core);
}
}
dart.setSignature(Foo, {
- methods: () => ({[_foo$]: dart.functionType(dart.dynamic, [])})
+ methods: () => ({[_foo$]: [dart.dynamic, []]})
});
function _foo() {
return 456;
@@ -26,7 +26,7 @@ var core = dart.import(core);
}
dart.defineNamedConstructor(Frame, 'caller');
dart.setSignature(Frame, {
- statics: () => ({callee: dart.functionType(dart.dynamic, [])}),
+ statics: () => ({callee: [dart.dynamic, []]}),
names: ['callee']
});
class Frame2 extends core.Object {}

Powered by Google App Engine
This is Rietveld 408576698