Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2015, 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 import "inheritance_chain_test.dart"; | |
| 6 | |
| 7 class B extends C { | |
| 8 get id => "B"; | |
| 9 get length => 2; | |
| 10 } | |
| 11 | |
| 12 class D extends Z { | |
| 13 get id => "D"; | |
| 14 get length => 4; | |
| 15 } | |
| 16 | |
| 17 class W { | |
| 18 get id => "W"; | |
| 19 get length => -4; | |
| 20 } | |
| 21 | |
| 22 class Y extends X { | |
| 23 get id => "Y"; | |
| 24 get length => -2; | |
| 25 } | |
| OLD | NEW |