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

Side by Side Diff: tests/compiler/dart2js/inference/data/return.dart

Issue 3009593002: It's alive (first kernel inference test) (Closed)
Patch Set: Updated cf. comment Created 3 years, 3 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
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 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. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 class Super {
6 /*Super.field:[exact=JSUInt31]*/
7 var field = 42;
8 }
9
10 class Sub extends Super {
11 /*Sub.method:[exact=JSUInt31]*/
12 method() => super.field;
13 }
14
15 /*main:[null]*/ 5 /*main:[null]*/
16 main() { 6 main() {
17 new Sub()./*[exact=Sub]*/method(); 7 return null;
18 } 8 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart ('k') | tests/compiler/dart2js/inference/data/simple.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698