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

Unified Diff: pkg/front_end/messages.yaml

Issue 2965393002: Use FastaMessage instead of String. Part 1. (Closed)
Patch Set: Add type variable to Code. Created 3 years, 5 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/front_end/messages.yaml
diff --git a/pkg/front_end/messages.yaml b/pkg/front_end/messages.yaml
index e4c298d8eb8d5b52dad1ed98679de7dc596525db..0b561e11b28d0cffdcb9a8f9ff43d8c1c38cc271 100644
--- a/pkg/front_end/messages.yaml
+++ b/pkg/front_end/messages.yaml
@@ -449,3 +449,102 @@ FinalFieldWithoutInitializer:
MetadataTypeArguments:
template: "An annotation (metadata) can't use type arguments."
dart2jsCode: FASTA_IGNORED
+
+ConstructorNotFound:
+ template: "Couldn't find constructor '#name'."
+
+RedirectionTargetNotFound:
+ template: "Redirection constructor target not found: '#name'"
+
+CyclicTypedef:
+ template: "The typedef '#name' has a reference to itself."
+
+TypeNotFound:
+ template: "Type '#name' not found."
+
+NonInstanceTypeVariableUse:
+ template: "Can only use type variables in instance methods."
+
+GetterNotFound:
+ template: "Getter not found: '#name'."
+
+SetterNotFound:
+ template: "Setter not found: '#name'."
+
+MethodNotFound:
+ template: "Method not found: '#name'."
+
+AbstractClassInstantiation:
+ template: "The class '#name' is abstract and can't be instantiated."
+
+ListLiteralTooManyTypeArguments:
+ template: "Too many type arguments on List literal."
+
+ListLiteralTypeArgumentMismatch:
+ template: "Map literal requires two type arguments."
+
+NotAType:
+ template: "'#name' isn't a type."
+
+FastaUsageShort:
+ template: >-
+ Frequently used options:
+
+ -o <file> Generate the output into <file>.
+ -h Display this message (add -v for information about all options).
+
+FastaUsageLong:
+ template: >-
+ Supported options:
+
+ -o <file>, --output=<file>
+ Generate the output into <file>.
+
+ -h, /h, /?, --help
+ Display this message (add -v for information about all options).
+
+ -v, --verbose
+ Display verbose information.
+
+ --
+ Stop option parsing, the rest of the command line is assumed to be
+ file names or arguments to the Dart program.
+
+ --packages=<file>
+ Use package resolution configuration <file>, which should contain a mapping
+ of package names to paths.
+
+ --platform=<file>
+ Read the SDK platform from <file>, which should be in Dill/Kernel IR format
+ and contain the Dart SDK.
+
+ --target=none|vm|vmcc|vmreify|flutter
+ Specify the target configuration.
+
+ --verify
+ Check that the generated output is free of various problems. This is mostly
+ useful for developers of this compiler or Kernel transformations.
+
+ --dump-ir
+ Print compiled libraries in Kernel source notation.
+
+ --exclude-source
+ Do not include source code in the dill file.
+
+ --compile-sdk=<patched_sdk>
+ Compile the SDK from scratch instead of reading it from 'platform.dill'.
+
+ --sdk=<patched_sdk>
+ Location of the SDK sources for use when compiling additional platform
+ libraries.
+
+ --fatal=errors
+ --fatal=warnings
+ --fatal=nits
+ Makes messages of the given kinds fatal, that is, immediately stop the
+ compiler with a non-zero exit-code. In --verbose mode, also display an
+ internal stack trace from the compiler. Multiple kinds can be separated by
+ commas, for example, --fatal=errors,warnings.
+
+FastaCLIArgumentRequired:
+ template: "Expected value after '#name'."
« no previous file with comments | « pkg/front_end/lib/src/fasta/source/stack_listener.dart ('k') | pkg/front_end/tool/_fasta/generate_messages.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698