Files
sdk/pkg/front_end/testcases/general/invalid_patch/patch_lib.dart
T
Johnni Winther fb137ff73e [cfe] Patch declarations through fragments
Change-Id: I942f2b0b08e69012140d4671722411c86b073504
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/413681
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Jens Johansen <jensj@google.com>
2025-03-07 05:37:00 -08:00

25 lines
700 B
Dart

// Copyright (c) 2025, 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 InvalidClassTypeParameterCount1<T> /* Error */ {}
@patch
class InvalidClassTypeParameterCount2 /* Error */ {}
@patch
class InvalidClassTypeParameterCount3<T> /* Error */ {}
@patch
extension InvalidExtensionTypeParameterCount1<T> on int /* Error */ {}
@patch
extension InvalidExtensionTypeParameterCount2 on int /* Error */ {}
@patch
extension InvalidExtensionTypeParameterCount3<T> on int /* Error */ {}