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

Unified Diff: test/codegen/expect/sunflower/sunflower.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
« lib/runtime/dart_runtime.js ('K') | « test/codegen/expect/names.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/sunflower/sunflower.js
diff --git a/test/codegen/expect/sunflower/sunflower.js b/test/codegen/expect/sunflower/sunflower.js
index 62aed01c13778e6a46b33d90ef6faa8e5f3eb7cd..9b606d51430e1590503295522bb019e9d6ede856 100644
--- a/test/codegen/expect/sunflower/sunflower.js
+++ b/test/codegen/expect/sunflower/sunflower.js
@@ -73,7 +73,7 @@ var core = dart.import(core);
}
CirclePainter[dart.implements] = () => [Circle];
dart.setSignature(CirclePainter, {
- methods: () => ({draw: dart.functionType(dart.void, [])})
+ methods: () => ({draw: [dart.void, []]})
});
class SunflowerSeed extends dart.mixin(Circle, CirclePainter) {
SunflowerSeed(x, y, radius, color) {
« lib/runtime/dart_runtime.js ('K') | « test/codegen/expect/names.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698