| # 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 file. | |
| main.dart.patch: | | |
| // Test that we can introduce a change that causes a method with optional | |
| // parameters to be recompiled. | |
| class A { | |
| m([a="a"]) => print("v1"); | |
| } | |
| class B extends A { | |
| <<<< "v1" | |
| m([a="a"]) => null; | |
| ==== "v1" | |
| >>>> | |
| } | |
| main() { | |
| new B(); | |
| new A().m(); | |
| } |