Files
sdk/pkg/front_end/testcases/general/issue45490.dart.weak.transformed.expect
T
Johnni Winther 0a1a5276ba [cfe] Ensure that types are also resolved in case of parser recovery
Closes #45490

Change-Id: I447a637a13fc9a32528a79f0f036c0aa6f74abb5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/193407
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2021-03-30 14:56:38 +00:00

22 lines
678 B
Plaintext

library /*isNonNullableByDefault*/;
//
// Problems in library:
//
// pkg/front_end/testcases/general/issue45490.dart:7:29: Error: Expected '>' after this.
// class test<X extends A> = A<X extends A<X>>;
// ^
//
// pkg/front_end/testcases/general/issue45490.dart:7:44: Error: Expected 'with' before this.
// class test<X extends A> = A<X extends A<X>>;
// ^
//
import self as self;
import "dart:core" as core;
class A<X extends core::Object? = dynamic> extends core::Object {
synthetic constructor •() → self::A<self::A::X%>
: super core::Object::•()
;
}
static method main() → dynamic {}