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

Side by Side Diff: pkg/front_end/lib/src/fasta/fasta_codes_generated.dart

Issue 3010963002: Report internal error when an exported library isn't loaded.
Patch Set: Created 3 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // NOTE: THIS FILE IS GENERATED. DO NOT EDIT. 5 // NOTE: THIS FILE IS GENERATED. DO NOT EDIT.
6 // 6 //
7 // Instead modify 'pkg/front_end/messages.yaml' and run 7 // Instead modify 'pkg/front_end/messages.yaml' and run
8 // 'pkg/front_end/tool/_fasta/generate_messages.dart' to update. 8 // 'pkg/front_end/tool/_fasta/generate_messages.dart' to update.
9 9
10 part of fasta.codes; 10 part of fasta.codes;
(...skipping 1434 matching lines...) Expand 10 before | Expand all | Expand 10 after
1445 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 1445 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1446 Message _withArgumentsInternalProblemConstructorNotFound( 1446 Message _withArgumentsInternalProblemConstructorNotFound(
1447 String name, Uri uri_) { 1447 String name, Uri uri_) {
1448 String uri = relativizeUri(uri_); 1448 String uri = relativizeUri(uri_);
1449 return new Message(codeInternalProblemConstructorNotFound, 1449 return new Message(codeInternalProblemConstructorNotFound,
1450 message: """No constructor named '$name' in '$uri'.""", 1450 message: """No constructor named '$name' in '$uri'.""",
1451 arguments: {'name': name, 'uri': uri_}); 1451 arguments: {'name': name, 'uri': uri_});
1452 } 1452 }
1453 1453
1454 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 1454 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1455 const Template<Message Function(Uri uri_, Uri uri2_)>
1456 templateInternalProblemExportedLibraryNotLoaded =
1457 const Template<Message Function(Uri uri_, Uri uri2_)>(
1458 messageTemplate:
1459 r"""The library '#uri' isn't loaded, but '#uri2' exports it.""",
1460 withArguments: _withArgumentsInternalProblemExportedLibraryNotLoaded);
1461
1462 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1463 const Code<Message Function(Uri uri_, Uri uri2_)>
1464 codeInternalProblemExportedLibraryNotLoaded =
1465 const Code<Message Function(Uri uri_, Uri uri2_)>(
1466 "InternalProblemExportedLibraryNotLoaded",
1467 templateInternalProblemExportedLibraryNotLoaded,
1468 );
1469
1470 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1471 Message _withArgumentsInternalProblemExportedLibraryNotLoaded(
1472 Uri uri_, Uri uri2_) {
1473 String uri = relativizeUri(uri_);
1474 String uri2 = relativizeUri(uri2_);
1475 return new Message(codeInternalProblemExportedLibraryNotLoaded,
1476 message: """The library '$uri' isn't loaded, but '$uri2' exports it.""",
1477 arguments: {'uri': uri_, 'uri2': uri2_});
1478 }
1479
1480 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1455 const Code<Null> codeInternalProblemExtendingUnmodifiableScope = 1481 const Code<Null> codeInternalProblemExtendingUnmodifiableScope =
1456 messageInternalProblemExtendingUnmodifiableScope; 1482 messageInternalProblemExtendingUnmodifiableScope;
1457 1483
1458 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 1484 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1459 const MessageCode messageInternalProblemExtendingUnmodifiableScope = 1485 const MessageCode messageInternalProblemExtendingUnmodifiableScope =
1460 const MessageCode("InternalProblemExtendingUnmodifiableScope", 1486 const MessageCode("InternalProblemExtendingUnmodifiableScope",
1461 message: r"""Can't extend an unmodifiable scope."""); 1487 message: r"""Can't extend an unmodifiable scope.""");
1462 1488
1463 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 1489 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1464 const Code<Null> codeInternalProblemMissingContext = 1490 const Code<Null> codeInternalProblemMissingContext =
(...skipping 1665 matching lines...) Expand 10 before | Expand all | Expand 10 after
3130 r"""'yield' can't be used as an identifier in 'async', 'async*', or 'syn c*' methods."""); 3156 r"""'yield' can't be used as an identifier in 'async', 'async*', or 'syn c*' methods.""");
3131 3157
3132 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 3158 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
3133 const Code<Null> codeYieldNotGenerator = messageYieldNotGenerator; 3159 const Code<Null> codeYieldNotGenerator = messageYieldNotGenerator;
3134 3160
3135 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. 3161 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
3136 const MessageCode messageYieldNotGenerator = const MessageCode( 3162 const MessageCode messageYieldNotGenerator = const MessageCode(
3137 "YieldNotGenerator", 3163 "YieldNotGenerator",
3138 dart2jsCode: "*ignored*", 3164 dart2jsCode: "*ignored*",
3139 message: r"""'yield' can only be used in 'sync*' or 'async*' methods."""); 3165 message: r"""'yield' can only be used in 'sync*' or 'async*' methods.""");
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698