OLD | NEW |
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 1368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1379 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1379 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
1380 const Code<Null> codeInternalProblemExtendingUnmodifiableScope = | 1380 const Code<Null> codeInternalProblemExtendingUnmodifiableScope = |
1381 messageInternalProblemExtendingUnmodifiableScope; | 1381 messageInternalProblemExtendingUnmodifiableScope; |
1382 | 1382 |
1383 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1383 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
1384 const MessageCode messageInternalProblemExtendingUnmodifiableScope = | 1384 const MessageCode messageInternalProblemExtendingUnmodifiableScope = |
1385 const MessageCode("InternalProblemExtendingUnmodifiableScope", | 1385 const MessageCode("InternalProblemExtendingUnmodifiableScope", |
1386 message: r"""Can't extend an unmodifiable scope."""); | 1386 message: r"""Can't extend an unmodifiable scope."""); |
1387 | 1387 |
1388 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1388 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 1389 const Code<Null> codeInternalProblemMissingContext = |
| 1390 messageInternalProblemMissingContext; |
| 1391 |
| 1392 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 1393 const MessageCode messageInternalProblemMissingContext = const MessageCode( |
| 1394 "InternalProblemMissingContext", |
| 1395 message: r"""Compiler cannot run without a compiler context.""", |
| 1396 tip: r"""Wrap calls to the compiler in a zone with a compiler context."""); |
| 1397 |
| 1398 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
1389 const Template<Message Function(String name)> templateInternalProblemNotFound = | 1399 const Template<Message Function(String name)> templateInternalProblemNotFound = |
1390 const Template<Message Function(String name)>( | 1400 const Template<Message Function(String name)>( |
1391 messageTemplate: r"""Couldn't find '#name'.""", | 1401 messageTemplate: r"""Couldn't find '#name'.""", |
1392 withArguments: _withArgumentsInternalProblemNotFound); | 1402 withArguments: _withArgumentsInternalProblemNotFound); |
1393 | 1403 |
1394 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1404 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
1395 const Code<Message Function(String name)> codeInternalProblemNotFound = | 1405 const Code<Message Function(String name)> codeInternalProblemNotFound = |
1396 const Code<Message Function(String name)>( | 1406 const Code<Message Function(String name)>( |
1397 "InternalProblemNotFound", | 1407 "InternalProblemNotFound", |
1398 templateInternalProblemNotFound, | 1408 templateInternalProblemNotFound, |
(...skipping 1503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2902 r"""'yield' can't be used as an identifier in 'async', 'async*', or 'syn
c*' methods."""); | 2912 r"""'yield' can't be used as an identifier in 'async', 'async*', or 'syn
c*' methods."""); |
2903 | 2913 |
2904 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 2914 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
2905 const Code<Null> codeYieldNotGenerator = messageYieldNotGenerator; | 2915 const Code<Null> codeYieldNotGenerator = messageYieldNotGenerator; |
2906 | 2916 |
2907 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 2917 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
2908 const MessageCode messageYieldNotGenerator = const MessageCode( | 2918 const MessageCode messageYieldNotGenerator = const MessageCode( |
2909 "YieldNotGenerator", | 2919 "YieldNotGenerator", |
2910 dart2jsCode: "*ignored*", | 2920 dart2jsCode: "*ignored*", |
2911 message: r"""'yield' can only be used in 'sync*' or 'async*' methods."""); | 2921 message: r"""'yield' can only be used in 'sync*' or 'async*' methods."""); |
OLD | NEW |