| Index: pkg/analyzer/test/src/summary/resynthesize_common.dart
|
| diff --git a/pkg/analyzer/test/src/summary/resynthesize_common.dart b/pkg/analyzer/test/src/summary/resynthesize_common.dart
|
| index c1d72d5cc1f189a0169128e2f97f14a22a75ddff..a69a77165ccfd151df44f25c0e18f447bc42ee3d 100644
|
| --- a/pkg/analyzer/test/src/summary/resynthesize_common.dart
|
| +++ b/pkg/analyzer/test/src/summary/resynthesize_common.dart
|
| @@ -3669,6 +3669,32 @@ const dynamic V = const p.C.named();
|
| }
|
| }
|
|
|
| + test_const_invokeConstructor_named_unresolved6() {
|
| + var library = checkLibrary(
|
| + r'''
|
| +class C<T> {}
|
| +const V = const C.named();
|
| +''',
|
| + allowErrors: true);
|
| + if (isStrongMode) {
|
| + checkElementText(
|
| + library,
|
| + r'''
|
| +class C<T> {
|
| +}
|
| +const C<dynamic> V = const C.named();
|
| +''');
|
| + } else {
|
| + checkElementText(
|
| + library,
|
| + r'''
|
| +class C<T> {
|
| +}
|
| +const dynamic V = const C.named();
|
| +''');
|
| + }
|
| + }
|
| +
|
| test_const_invokeConstructor_unnamed() {
|
| var library = checkLibrary(r'''
|
| class C {
|
|
|