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

Unified Diff: pkg/analyzer/test/src/summary/resynthesize_common.dart

Issue 2662983005: Fix for resynthesizing invalid elements as type arguments of declared types. (Closed)
Patch Set: Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/src/summary/resynthesize.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a5079c0c2fea54126457400166a78fb07bcdf7ad..9c4ef7ba23db0d8657f01e20494c09979000f492 100644
--- a/pkg/analyzer/test/src/summary/resynthesize_common.dart
+++ b/pkg/analyzer/test/src/summary/resynthesize_common.dart
@@ -4679,6 +4679,15 @@ int V = 0;
allowErrors: true);
}
+ test_type_invalid_topLevelVariableElement_asTypeArgument() {
+ checkLibrary(
+ '''
+var V;
+static List<V> V2;
+''',
+ allowErrors: true);
+ }
+
test_type_invalid_typeParameter_asPrefix() {
checkLibrary(
'''
« no previous file with comments | « pkg/analyzer/lib/src/summary/resynthesize.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698