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

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: 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/browser/runtime_tests.js
diff --git a/test/browser/runtime_tests.js b/test/browser/runtime_tests.js
index b9cd0abb1ec4d475b60889235875c8a5c5b5a7da..354513c8ac3581a4bdf18c8fa85b5241e23a4399 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]],
})
});

Powered by Google App Engine
This is Rietveld 408576698