| # 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: | |
| // Reproduce a crash when a compile-time error is reported on a new class |
| <<<< [] |
| ==== {"messages":[],"hasCompileTimeError":1} |
| abstract class A implements bool default F { |
| A(); |
| } |
| >>>> |
| |
| class F { |
| <<<< |
| ==== |
| factory A() { return null; } |
| >>>> |
| } |
| |
| main() { |
| <<<< |
| ==== |
| new A(); |
| >>>> |
| } |