5c65c68669
This also handles reporting of cyclic bounds in parts and sets the bound of a cyclic type parameter to InvalidType to avoid looping on the bound later, as for instance in computation of NORM. Closes #45330 Change-Id: Ida20dc5b44b08a6f8674a402d801314a9172fa8a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/192142 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
37 lines
1.4 KiB
Dart
37 lines
1.4 KiB
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.
|
|
|
|
// Long comment to increase error offset.
|
|
// Long comment to increase error offset.
|
|
// Long comment to increase error offset.
|
|
// Long comment to increase error offset.
|
|
// Long comment to increase error offset.
|
|
// Long comment to increase error offset.
|
|
// Long comment to increase error offset.
|
|
// Long comment to increase error offset.
|
|
// Long comment to increase error offset.
|
|
// Long comment to increase error offset.
|
|
// Long comment to increase error offset.
|
|
// Long comment to increase error offset.
|
|
// Long comment to increase error offset.
|
|
// Long comment to increase error offset.
|
|
// Long comment to increase error offset.
|
|
// Long comment to increase error offset.
|
|
// Long comment to increase error offset.
|
|
// Long comment to increase error offset.
|
|
// Long comment to increase error offset.
|
|
// Long comment to increase error offset.
|
|
// Long comment to increase error offset.
|
|
// Long comment to increase error offset.
|
|
// Long comment to increase error offset.
|
|
// Long comment to increase error offset.
|
|
// Long comment to increase error offset.
|
|
// Long comment to increase error offset.
|
|
|
|
part of 'issue45330.dart';
|
|
|
|
testInPart() {
|
|
genericMethod<void Function<T extends T>()>();
|
|
}
|