mirror of
https://github.com/dart-lang/sdk
synced 2024-09-18 21:41:19 +00:00
f36b8aa4e4
This bug was only happening for the --fast-startup. For most browsers we simply change the '__proto__' and the order wouldn't be important. However, for the other browsers we have to do it in order. R=sigmund@google.com Review URL: https://codereview.chromium.org//1347423003 .
25 lines
482 B
Dart
25 lines
482 B
Dart
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
import "inheritance_chain_test.dart";
|
|
|
|
class B extends C {
|
|
get id => "B";
|
|
get length => 2;
|
|
}
|
|
|
|
class D extends Z {
|
|
get id => "D";
|
|
get length => 4;
|
|
}
|
|
|
|
class W {
|
|
get id => "W";
|
|
get length => -4;
|
|
}
|
|
|
|
class Y extends X {
|
|
get id => "Y";
|
|
get length => -2;
|
|
} |