mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 03:56:57 +00:00
5bcc80439f
...in type variable bounds with typedefs. This is the Fasta fix for #33479. Change-Id: Id3c45891364d390a37424efbcfdb4254bb2f8c48 Reviewed-on: https://dart-review.googlesource.com/73860 Commit-Queue: Jens Johansen <jensj@google.com> Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
10 lines
187 B
Dart
10 lines
187 B
Dart
class Hest<TypeX extends Fisk> {}
|
|
|
|
typedef Fisk = void Function // don't merge lines
|
|
<TypeY extends Hest> //# 01: compile-time error
|
|
();
|
|
|
|
main() {
|
|
Hest hest = new Hest();
|
|
}
|