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

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

Issue 2471483002: Fix typos in correction messages (Closed)
Patch Set: 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
« no previous file with comments | « pkg/analyzer/lib/src/dart/error/hint_codes.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 feea8ee8dd41ffba5d821212f82bc2f23c6f2e75..140c658195222779456fe4f95f7236a2f73089e4 100644
--- a/pkg/analyzer/lib/src/error/codes.dart
+++ b/pkg/analyzer/lib/src/error/codes.dart
@@ -529,7 +529,7 @@ class CompileTimeErrorCode extends ErrorCode {
"Constant values from a deferred library can't be used to "
"initialized a const variable.",
"Try initializing the variable without referencing members of the "
- "deferred library, or"
+ "deferred library, or "
"changing the import to not be deferred.");
/**
@@ -2779,7 +2779,7 @@ class StaticTypeWarningCode extends ErrorCode {
const StaticTypeWarningCode(
'NON_TYPE_AS_TYPE_ARGUMENT',
"The name '{0}' isn't a type so it can't be used as a type argument.",
- "Try correcting the name to an existing type, or"
+ "Try correcting the name to an existing type, or "
"defining a type named '{0}'.");
/**
@@ -2859,7 +2859,7 @@ class StaticTypeWarningCode extends ErrorCode {
const StaticTypeWarningCode(
'UNDEFINED_ENUM_CONSTANT',
"There is no constant named '{0}' in '{1}'.",
- "Try correcting the name to the name of an existing constant, or"
+ "Try correcting the name to the name of an existing constant, or "
"defining a constant named '{0}'.");
/**
@@ -2879,7 +2879,7 @@ class StaticTypeWarningCode extends ErrorCode {
'UNDEFINED_FUNCTION',
"The function '{0}' isn't defined.",
"Try importing the library that defines '{0}', "
- "correcting the name to the name of an existing function, or"
+ "correcting the name to the name of an existing function, or "
"defining a funtion named '{0}'.");
/**
@@ -2895,7 +2895,7 @@ class StaticTypeWarningCode extends ErrorCode {
'UNDEFINED_GETTER',
"The getter '{0}' isn't defined for the class '{1}'.",
"Try importing the library that defines '{0}', "
- "correcting the name to the name of an existing getter, or"
+ "correcting the name to the name of an existing getter, or "
"defining a getter or field named '{0}'.");
/**
@@ -2911,7 +2911,7 @@ class StaticTypeWarningCode extends ErrorCode {
const StaticTypeWarningCode(
'UNDEFINED_METHOD',
"The method '{0}' isn't defined for the class '{1}'.",
- "Try correcting the name to the name of an existing method, or"
+ "Try correcting the name to the name of an existing method, or "
"defining a method named '{0}'.");
/**
@@ -2970,7 +2970,7 @@ class StaticTypeWarningCode extends ErrorCode {
'UNDEFINED_SETTER',
"The setter '{0}' isn't defined for the class '{1}'.",
"Try importing the library that defines '{0}', "
- "correcting the name to the name of an existing setter, or"
+ "correcting the name to the name of an existing setter, or "
"defining a setter or field named '{0}'.");
/**
@@ -2985,7 +2985,7 @@ class StaticTypeWarningCode extends ErrorCode {
const StaticTypeWarningCode(
'UNDEFINED_SUPER_GETTER',
"The getter '{0}' isn't defined in a superclass of '{1}'.",
- "Try correcting the name to the name of an existing getter, or"
+ "Try correcting the name to the name of an existing getter, or "
"defining a getter or field named '{0}' in a superclass.");
/**
@@ -3003,7 +3003,7 @@ class StaticTypeWarningCode extends ErrorCode {
const StaticTypeWarningCode(
'UNDEFINED_SUPER_METHOD',
"The method '{0}' isn't defined in a superclass of '{1}'.",
- "Try correcting the name to the name of an existing method, or"
+ "Try correcting the name to the name of an existing method, or "
"defining a method named '{0}' in a superclass.");
/**
@@ -3045,7 +3045,7 @@ class StaticTypeWarningCode extends ErrorCode {
const StaticTypeWarningCode(
'UNDEFINED_SUPER_SETTER',
"The setter '{0}' isn't defined in a superclass of '{1}'.",
- "Try correcting the name to the name of an existing setter, or"
+ "Try correcting the name to the name of an existing setter, or "
"defining a setter or field named '{0}' in a superclass.");
/**
« no previous file with comments | « pkg/analyzer/lib/src/dart/error/hint_codes.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698