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

Side by Side Diff: tests/kernel/unsorted/klass_test.dart

Issue 2451893004: Revert "Reland "Merge more Kernel infrastructure from kernel_sdk SDK fork."" (Closed)
Patch Set: Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 class A {
6 A() {
7 print("A");
8 }
9
10 hello() {
11 print("A.hello()");
12 }
13
14 hello1(a) {
15 print("A.hello1()");
16 print(a);
17 }
18
19 foo(a, [b]) {
20 print("A.foo()");
21 print(a);
22 print(b);
23 }
24
25 bar(a, {b}) {
26 print("A.bar()");
27 print(a);
28 print(b);
29 }
30 }
31
32 main() {
33 print("before constructor");
34 var a = new A();
35 print("============");
36 a.hello();
37 print('-----(obj):');
38 print(a);
39 print('-----');
40 a.hello1(1);
41 print('-----');
42 a.foo(1);
43 print('-----');
44 a.foo(1, 2);
45 print('-----');
46 print("============");
47 a.bar(1);
48 print('-----');
49 a.bar(1, b: 2);
50 print("============");
51 }
52
OLDNEW
« no previous file with comments | « tests/kernel/unsorted/klass_field_initializer_test.dart ('k') | tests/kernel/unsorted/let_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698