Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 // FletchDebuggerCommands=b,r,s,finish,s,s,s,s,finish,s,s,s,s,s,finish,s,s,s,s,s ,finish,b y,s,s,finish,c | 5 // FletchDebuggerCommands=b,r,s,finish,s,s,s,s,finish,s,s,s,s,s,finish,s,s,s,s,s ,finish,b y,s,s,finish,c |
| 6 | 6 |
| 7 class A { | 7 class A { |
| 8 int _x = 32; | 8 int _x = 32; |
| 9 int get x => _x; | 9 int get x => _x; |
| 10 int y() => 32 + 32 + _x; | 10 int y() => 32 + 32 + _x; |
| 11 int z() => y(); | 11 int z() => y(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 int foo() => 32; | 14 int foo() => 32; |
| 15 | 15 |
| 16 main() { | 16 main() { |
| 17 foo(); | 17 foo(); |
| 18 32 + 32 + foo(); | 18 32 + 32 + foo(); |
| 19 var a = new A(); | 19 var a = new A(); |
| 20 a.x; | 20 a.x; |
| 21 a.y(); | 21 a.y(); |
| 22 a.z(); | 22 a.z(); |
| 23 1; | 23 1; |
| 24 } | 24 } |
| OLD | NEW |