| # 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*; |
| ==== [] |
| int sync; |
| >>>> |
| } |
| main() { |
| new C(); |
| } |