dart-sdk/tests/language_2/regress_33479_test.dart
Jens Johansen 5bcc80439f Fasta: Don't crash on on raw generic type cycles
...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>
2018-09-12 12:37:02 +00:00

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();
}