Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Side by Side Diff: pkg/analyzer/test/src/summary/resynthesize_common.dart

Issue 2984153002: Start marking @_fastaProblem, fix for unresolved mixin, fix for type parameter context. (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library test.src.serialization.elements_test; 5 library test.src.serialization.elements_test;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:analyzer/dart/ast/ast.dart'; 9 import 'package:analyzer/dart/ast/ast.dart';
10 import 'package:analyzer/dart/ast/standard_resolution_map.dart'; 10 import 'package:analyzer/dart/ast/standard_resolution_map.dart';
(...skipping 2095 matching lines...) Expand 10 before | Expand all | Expand 10 after
2106 } 2106 }
2107 class B<B1> { 2107 class B<B1> {
2108 } 2108 }
2109 class C<C1> { 2109 class C<C1> {
2110 } 2110 }
2111 '''); 2111 ''');
2112 } 2112 }
2113 2113
2114 test_class_mixins_unresolved() async { 2114 test_class_mixins_unresolved() async {
2115 var library = await checkLibrary( 2115 var library = await checkLibrary(
2116 'class C extends Object with X, Y, Z; class X {} class Z {}', 2116 'class C extends Object with X, Y, Z {} class X {} class Z {}',
2117 allowErrors: true); 2117 allowErrors: true);
2118 checkElementText(library, r''' 2118 checkElementText(library, r'''
2119 class C extends Object with X, Z { 2119 class C extends Object with X, Z {
2120 synthetic C(); 2120 synthetic C();
2121 } 2121 }
2122 class X { 2122 class X {
2123 } 2123 }
2124 class Z { 2124 class Z {
2125 } 2125 }
2126 '''); 2126 ''');
(...skipping 7729 matching lines...) Expand 10 before | Expand all | Expand 10 after
9856 fail('Unexpectedly tried to get unlinked summary for $uri'); 9856 fail('Unexpectedly tried to get unlinked summary for $uri');
9857 } 9857 }
9858 return serializedUnit; 9858 return serializedUnit;
9859 } 9859 }
9860 9860
9861 @override 9861 @override
9862 bool hasLibrarySummary(String uri) { 9862 bool hasLibrarySummary(String uri) {
9863 return true; 9863 return true;
9864 } 9864 }
9865 } 9865 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/dart/element/element.dart ('k') | pkg/analyzer/test/src/summary/resynthesize_kernel_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698