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

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

Issue 2640143007: Issue 28100. Implement new strong mode instantiate to bound rules in analyzer. (Closed)
Patch Set: Fixes for review comments. Created 3 years, 11 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
Index: pkg/analyzer/lib/src/error/codes.dart
diff --git a/pkg/analyzer/lib/src/error/codes.dart b/pkg/analyzer/lib/src/error/codes.dart
index 42d9aeceeacfdb55ca200fb3e20755a517970d98..9b4b73df12512150a33610531e7dcdac49744eb9 100644
--- a/pkg/analyzer/lib/src/error/codes.dart
+++ b/pkg/analyzer/lib/src/error/codes.dart
@@ -4898,6 +4898,12 @@ class StrongModeCode extends ErrorCode {
"Missing type arguments for calling generic function type '{0}'.",
_implicitDynamicCorrection);
+ static const StrongModeCode NO_DEFAULT_BOUNDS = const StrongModeCode(
+ ErrorType.COMPILE_TIME_ERROR,
+ 'NO_DEFAULT_BOUNDS',
+ "Type has no default bounds",
+ "Try adding explicit type arguments to type");
+
static const StrongModeCode NOT_INSTANTIATED_BOUND = const StrongModeCode(
ErrorType.COMPILE_TIME_ERROR,
'NOT_INSTANTIATED_BOUND',

Powered by Google App Engine
This is Rietveld 408576698