blob: fa8460f4af47dccb0f2b8becb13affc823cd92f9 [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 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();