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

Unified Diff: pkg/analyzer/test/generated/static_warning_code_test.dart

Issue 2488043002: Enable generic method support by default (Closed)
Patch Set: clean up Created 4 years, 1 month 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
Index: pkg/analyzer/test/generated/static_warning_code_test.dart
diff --git a/pkg/analyzer/test/generated/static_warning_code_test.dart b/pkg/analyzer/test/generated/static_warning_code_test.dart
index ae8bdca538cf019fdc036ac51640a60b3b655952..1fc56f4e0828d3ede8be48c2418337911c737159 100644
--- a/pkg/analyzer/test/generated/static_warning_code_test.dart
+++ b/pkg/analyzer/test/generated/static_warning_code_test.dart
@@ -3374,7 +3374,6 @@ a.A v;'''
}
void test_typeAnnotationGenericFunctionParameter_localFunction() {
- resetWithOptions(new AnalysisOptionsImpl()..enableGenericMethods = true);
Source source = addSource(r'''
class A {
void method() {
@@ -3390,7 +3389,6 @@ class A {
}
void test_typeAnnotationGenericFunctionParameter_method() {
- resetWithOptions(new AnalysisOptionsImpl()..enableGenericMethods = true);
Source source = addSource(r'''
class A {
T method<T>(Object t) {
@@ -3404,7 +3402,6 @@ class A {
}
void test_typeAnnotationGenericFunctionParameter_topLevelFunction() {
- resetWithOptions(new AnalysisOptionsImpl()..enableGenericMethods = true);
Source source = addSource(r'''
T function<T>(Object t) {
return (t is T) ? t : null;
« no previous file with comments | « pkg/analyzer/test/generated/static_type_analyzer_test.dart ('k') | pkg/analyzer/test/src/context/builder_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698