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

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

Issue 1686453002: Fix for constant instance creation without type arguments. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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_test.dart
diff --git a/pkg/analyzer/test/src/summary/resynthesize_test.dart b/pkg/analyzer/test/src/summary/resynthesize_test.dart
index 48f35c59465b51256e8e2d56aa984374404c40b9..a19d1fa1338c3035c5d0e4f9246ca2f4fb929edc 100644
--- a/pkg/analyzer/test/src/summary/resynthesize_test.dart
+++ b/pkg/analyzer/test/src/summary/resynthesize_test.dart
@@ -1265,6 +1265,15 @@ const V = const p.C<int, String>.named(1, '222');
''');
}
+ test_const_invokeConstructor_generic_noTypeArguments() {
+ checkLibrary(r'''
+class C<K, V> {
+ const C();
+}
+const V = const C();
+''');
+ }
+
test_const_invokeConstructor_generic_unnamed() {
checkLibrary(r'''
class C<K, V> {
« 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