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

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

Issue 2487583002: Convert generic method errors to hints (Closed)
Patch Set: add missed code 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_type_warning_code_test.dart
diff --git a/pkg/analyzer/test/generated/static_type_warning_code_test.dart b/pkg/analyzer/test/generated/static_type_warning_code_test.dart
index 45dbadc99a93035d0ea3287eefd86716912a8c3b..23a328a2b06556e4c44d7063c306ee62998368a3 100644
--- a/pkg/analyzer/test/generated/static_type_warning_code_test.dart
+++ b/pkg/analyzer/test/generated/static_type_warning_code_test.dart
@@ -2430,8 +2430,7 @@ main() {
}
''');
computeLibrarySourceErrors(source);
- assertErrors(
- source, [StaticTypeWarningCode.WRONG_NUMBER_OF_TYPE_ARGUMENTS]);
+ assertErrors(source, [HintCode.WRONG_NUMBER_OF_TYPE_ARGUMENTS_METHOD]);
Jennifer Messerly 2016/11/08 01:21:57 this test is in strong mode, so this should stay a
Brian Wilkerson 2016/11/08 15:39:07 Done
for (AnalysisError error in analysisContext2.computeErrors(source)) {
if (error.errorCode ==
StaticTypeWarningCode.WRONG_NUMBER_OF_TYPE_ARGUMENTS) {

Powered by Google App Engine
This is Rietveld 408576698