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

Side by Side Diff: pkg/kernel/testcases/input/override.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 unified diff | Download patch
OLDNEW
(Empty)
1 class Foo {}
2
3 class Bar extends Foo {}
4
5 class Base {
6 Foo method() {
7 return new Foo();
8 }
9 }
10
11 class Sub extends Base {
12 Foo method() {
13 return new Bar();
14 }
15 }
16
17 main(List<String> args) {
18 var object = args.length == 0 ? new Base() : new Sub();
19 var a = object.method();
20 print(a);
21 }
OLDNEW
« no previous file with comments | « pkg/kernel/testcases/input/optional.dart ('k') | pkg/kernel/testcases/input/prefer_baseclass.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698