Files
sdk/pkg/front_end/test/patching/data/abstract_class/patch.dart
T
Johnni Winther 5f32f4d7b6 [cfe] Separate patch from regular libraries
+ handle them through the origin library.

This prepares for supporting multiple patch libraries for the same
library.

Change-Id: Ib4934fd2f2c7f743fa342dae86002ac72d57f9a3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/222304
Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
2021-12-10 22:11:29 +00:00

14 lines
372 B
Dart

// Copyright (c) 2021, 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.
// ignore: import_internal_library
import 'dart:_internal';
@patch
class Class {
@patch
/*member: Class.classMethod:patch*/
void classMethod() {}
}