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

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

Issue 1695033002: Ignore enclosing class type parameters in resynthesizing static class members. (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') | pkg/analyzer/test/src/summary/summary_common.dart » ('j') | 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 c1f45674a7a8611af5eb9e351603bff66a970aea..72a8c98a9ed3c55be6dfa8c3b0d1ad636cc2d222 100644
--- a/pkg/analyzer/test/src/summary/resynthesize_test.dart
+++ b/pkg/analyzer/test/src/summary/resynthesize_test.dart
@@ -2495,6 +2495,16 @@ f() {}''');
checkLibrary('f() {} g() {}');
}
+ test_generic_gClass_gMethodStatic() {
+ resetWithOptions(new AnalysisOptionsImpl()..enableGenericMethods = true);
+ checkLibrary('''
+class C<T, U> {
+ static void m<V, W>(V v, W w) {
+ }
+}
+''');
+ }
+
test_getElement_constructor_named() {
ConstructorElement original = resolve2(addSource('class C { C.named(); }'))
.getType('C')
« no previous file with comments | « pkg/analyzer/lib/src/summary/resynthesize.dart ('k') | pkg/analyzer/test/src/summary/summary_common.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698