blob: 962e8442653b0434a0c78cc7cf1f7474622d99a8 [file] [log] [blame]
# Copyright (c) 2017, 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.md file.
main.dart.patch: |
// Regression test for a bad assertion in dart2js (can't compute subclasses of
// C because C isn't recorded as instantiated, which it really is, it's just
// that a compile-time error was encountered when attempting to resolve C).
class C {
<<<< {"messages":[],"hasCompileTimeError":1}
int sync*;
==== {"messages":[],"hasCompileTimeError":1}
// TODO(ahe): There's no compile-time error here
int sync;
>>>>
}
main() {
new C();
}