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

Unified Diff: pkg/analyzer/lib/src/generated/error.dart

Issue 2295853002: fix #26992, inference failures are now an error (Closed)
Patch Set: fix comment Created 4 years, 3 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 | « CHANGELOG.md ('k') | pkg/analyzer/lib/src/generated/static_type_analyzer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/error.dart
diff --git a/pkg/analyzer/lib/src/generated/error.dart b/pkg/analyzer/lib/src/generated/error.dart
index fd71772e0a293765d3c5d7a9b0644b57727d1878..83ab38ac71971cedf111e416bfcb209cb44b28a2 100644
--- a/pkg/analyzer/lib/src/generated/error.dart
+++ b/pkg/analyzer/lib/src/generated/error.dart
@@ -5969,6 +5969,11 @@ class StrongModeCode extends ErrorCode {
const StrongModeCode(ErrorType.COMPILE_TIME_ERROR,
'INVALID_PARAMETER_DECLARATION', _typeCheckMessage);
+ static const StrongModeCode COULD_NOT_INFER = const StrongModeCode(
+ ErrorType.COMPILE_TIME_ERROR,
+ 'COULD_NOT_INFER',
+ "Could not infer type parameter {0}, {1} must be of type {2}.");
+
static const StrongModeCode INFERRED_TYPE = const StrongModeCode(
ErrorType.HINT, 'INFERRED_TYPE', _inferredTypeMessage);
« no previous file with comments | « CHANGELOG.md ('k') | pkg/analyzer/lib/src/generated/static_type_analyzer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698