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

Unified Diff: pkg/compiler/lib/src/diagnostics/messages.dart

Issue 2751983002: Pending renames and cleanups after commits (Closed)
Patch Set: Created 3 years, 9 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/compiler/lib/src/diagnostics/messages.dart
diff --git a/pkg/compiler/lib/src/diagnostics/messages.dart b/pkg/compiler/lib/src/diagnostics/messages.dart
index 834cda536044011ea6458ac9a0a30c170deafc38..68e2a788f265dd1d64dd0e49219e000dd393520f 100644
--- a/pkg/compiler/lib/src/diagnostics/messages.dart
+++ b/pkg/compiler/lib/src/diagnostics/messages.dart
@@ -2034,7 +2034,7 @@ part of lib.bar;
MessageKind.LIBRARY_URI_MISMATCH,
"Expected URI of library '#{libraryUri}'.",
howToFix: "Try changing the directive to 'part of "
- "\"#{libraryUri}\";'.",
+ "\"#{libraryUri}\";'.",
examples: const [
const {
'main.dart': """
@@ -3294,13 +3294,14 @@ Please include the following information:
" <sdk>/lib/_internal/js_runtime/lib/preambles."),
MessageKind.INVALID_INLINE_FUNCTION_TYPE: const MessageTemplate(
- MessageKind.INVALID_INLINE_FUNCTION_TYPE,
- "Invalid inline function type.",
- howToFix: "Try changing the inline function type (as in 'int f()') to"
- " a prefixed function type using the `Function` keyword (as in "
- "'int Function() f').",
- examples:
- const ["typedef F = Function(int f(String x)); main() { F f; }"],
+ MessageKind.INVALID_INLINE_FUNCTION_TYPE,
+ "Invalid inline function type.",
+ howToFix: "Try changing the inline function type (as in 'int f()') to"
+ " a prefixed function type using the `Function` keyword (as in "
+ "'int Function() f').",
+ examples: const [
+ "typedef F = Function(int f(String x)); main() { F f; }"
+ ],
),
MessageKind.INVALID_SYNC_MODIFIER: const MessageTemplate(
« no previous file with comments | « no previous file | pkg/compiler/lib/src/elements/modelx.dart » ('j') | pkg/compiler/lib/src/js_backend/native_data.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698