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

Unified Diff: pkg/front_end/lib/src/fasta/fasta_codes_generated.dart

Issue 2979003002: support resolving .packages in FE (Closed)
Patch Set: 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/lib/src/fasta/fasta_codes_generated.dart
diff --git a/pkg/front_end/lib/src/fasta/fasta_codes_generated.dart b/pkg/front_end/lib/src/fasta/fasta_codes_generated.dart
index 84b22e30868d1e9989ec9c30ffd4aae24d4f58a7..7d024f3bfbb18665b65d3729bb2cd23834ed060b 100644
--- a/pkg/front_end/lib/src/fasta/fasta_codes_generated.dart
+++ b/pkg/front_end/lib/src/fasta/fasta_codes_generated.dart
@@ -1561,6 +1561,28 @@ const MessageCode messageInvalidInlineFunctionType = const MessageCode(
tip:
r"""Try changing the inline function type (as in 'int f()') to a prefixed function type using the `Function` keyword (as in 'int Function() f').""");
+// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
+const Template<Message Function(Uri uri_, String string)>
+ templateInvalidPackagesFile =
+ const Template<Message Function(Uri uri_, String string)>(
+ messageTemplate: r"""Invalid .packages file '#uri':
+ #string.""", withArguments: _withArgumentsInvalidPackagesFile);
+
+// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
+const Code<Message Function(Uri uri_, String string)> codeInvalidPackagesFile =
+ const Code<Message Function(Uri uri_, String string)>(
+ "InvalidPackagesFile",
+ templateInvalidPackagesFile,
+);
+
+// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
+Message _withArgumentsInvalidPackagesFile(Uri uri_, String string) {
+ String uri = relativizeUri(uri_);
+ return new Message(codeInvalidPackagesFile,
+ message: """Invalid .packages file '$uri':
+ $string.""", arguments: {'uri': uri_, 'string': string});
+}
+
// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
const Code<Null> codeInvalidSyncModifier = messageInvalidSyncModifier;
@@ -1708,6 +1730,13 @@ Message _withArgumentsMissingInputFile(String string) {
arguments: {'string': string});
}
+// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
+const Code<Null> codeMissingInputs = messageMissingInputs;
+
+// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
+const MessageCode messageMissingInputs = const MessageCode("MissingInputs",
+ message: r"""No input files provided to the compiler.""");
+
// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
const Code<Null> codeMissingMain = messageMissingMain;

Powered by Google App Engine
This is Rietveld 408576698