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

Unified Diff: test/codegen/expect/fieldtest.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/fieldtest.js
diff --git a/test/codegen/expect/fieldtest.js b/test/codegen/expect/fieldtest.js
index d4b23b5d0e6e10ff80315133f7076dcce920b3d6..5b5c0b8dca54d4dbbfead2d33abc915f5386e017 100644
--- a/test/codegen/expect/fieldtest.js
+++ b/test/codegen/expect/fieldtest.js
@@ -77,7 +77,7 @@ var core = dart.import(core);
}
}
dart.setSignature(Generic, {
- methods: () => ({foo: dart.functionType(dart.dynamic, [T])})
+ methods: () => ({foo: [dart.dynamic, [T]]})
});
return Generic;
});

Powered by Google App Engine
This is Rietveld 408576698