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

Unified Diff: pkg/kernel/testcases/input/call.dart

Issue 2825063002: Move kernel baseline tests to front_end. (Closed)
Patch Set: Created 3 years, 8 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 | « pkg/kernel/testcases/input/bad_store.dart ('k') | pkg/kernel/testcases/input/closure.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/testcases/input/call.dart
diff --git a/pkg/kernel/testcases/input/call.dart b/pkg/kernel/testcases/input/call.dart
deleted file mode 100644
index 0a6fff5cdb4783c3bfc6822d98b440192a2ff75c..0000000000000000000000000000000000000000
--- a/pkg/kernel/testcases/input/call.dart
+++ /dev/null
@@ -1,44 +0,0 @@
-class Callable {
- call(x) {
- return "string";
- }
-}
-
-class CallableGetter {
- get call => new Callable();
-}
-
-main() {
- var closure = (x) => x;
- var int1 = closure(1);
- var int2 = closure.call(1);
- var int3 = closure.call.call(1);
- var int4 = closure.call.call.call(1);
-
- var callable = new Callable();
- var string1 = callable(1);
- var string2 = callable.call(1);
- var string3 = callable.call.call(1);
- var string4 = callable.call.call.call(1);
-
- var callableGetter = new CallableGetter();
- var string5 = callableGetter(1);
- var string6 = callableGetter.call(1);
- var string7 = callableGetter.call.call(1);
- var string8 = callableGetter.call.call.call(1);
-
- var nothing1 = closure();
- var nothing2 = closure.call();
- var nothing3 = closure.call.call();
- var nothing4 = closure.call.call.call();
-
- var nothing5 = callable();
- var nothing6 = callable.call();
- var nothing7 = callable.call.call();
- var nothing8 = callable.call.call.call();
-
- var nothing9 = callableGetter();
- var nothing10 = callableGetter.call();
- var nothing11 = callableGetter.call.call();
- var nothing12 = callableGetter.call.call.call();
-}
« no previous file with comments | « pkg/kernel/testcases/input/bad_store.dart ('k') | pkg/kernel/testcases/input/closure.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698