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

Unified Diff: test/browser/runtime_tests.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 | « lib/src/codegen/js_codegen.dart ('k') | test/codegen/expect/BenchmarkBase.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/browser/runtime_tests.js
diff --git a/test/browser/runtime_tests.js b/test/browser/runtime_tests.js
index e1fac77abd708f7c545cf658522164370a379842..b43b32d872bca821f35a0be7588336b813cdfe99 100644
--- a/test/browser/runtime_tests.js
+++ b/test/browser/runtime_tests.js
@@ -444,11 +444,11 @@ suite('instanceOf', () => {
}
dart.setSignature(Tester, {
methods: () => ({
- m: dart.functionType(core.int, [core.int, core.int]),
- call: dart.functionType(core.int, [core.int])
+ m: [core.int, [core.int, core.int]],
+ call: [core.int, [core.int]]
}),
statics: () => ({
- s: dart.functionType(core.String, [core.String])
+ s: [core.String, [core.String]]
}),
names: ['s']
})
@@ -589,7 +589,7 @@ suite('instanceOf', () => {
};
dart.setSignature(Base, {
methods: () => ({
- m: dart.functionType(core.int, [core.int]),
+ m: [core.int, [core.int]],
})
});
@@ -598,7 +598,7 @@ suite('instanceOf', () => {
};
dart.setSignature(M1, {
methods: () => ({
- m: dart.functionType(core.num, [core.int]),
+ m: [core.num, [core.int]],
})
});
@@ -607,7 +607,7 @@ suite('instanceOf', () => {
};
dart.setSignature(M2, {
methods: () => ({
- m: dart.functionType(core.Object, [core.int]),
+ m: [core.Object, [core.int]],
})
});
« no previous file with comments | « lib/src/codegen/js_codegen.dart ('k') | test/codegen/expect/BenchmarkBase.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698