| 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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 messageCantInferPackagesFromManyInputs; | 206 messageCantInferPackagesFromManyInputs; |
| 207 | 207 |
| 208 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 208 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 209 const MessageCode messageCantInferPackagesFromManyInputs = const MessageCode( | 209 const MessageCode messageCantInferPackagesFromManyInputs = const MessageCode( |
| 210 "CantInferPackagesFromManyInputs", | 210 "CantInferPackagesFromManyInputs", |
| 211 message: | 211 message: |
| 212 r"""Cannot infer a .packages file when compiling multiple inputs.""", | 212 r"""Cannot infer a .packages file when compiling multiple inputs.""", |
| 213 tip: r"""Try specifying the file explicitly with the --packages option."""); | 213 tip: r"""Try specifying the file explicitly with the --packages option."""); |
| 214 | 214 |
| 215 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 215 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 216 const Code<Null> codeCantInferPackagesFromPackageUri = |
| 217 messageCantInferPackagesFromPackageUri; |
| 218 |
| 219 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 220 const MessageCode messageCantInferPackagesFromPackageUri = const MessageCode( |
| 221 "CantInferPackagesFromPackageUri", |
| 222 message: |
| 223 r"""Cannot infer a .packages file from an input `package:*` URI.""", |
| 224 tip: r"""Try specifying the file explicitly with the --packages option."""); |
| 225 |
| 226 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 216 const Code<Null> codeCatchSyntax = messageCatchSyntax; | 227 const Code<Null> codeCatchSyntax = messageCatchSyntax; |
| 217 | 228 |
| 218 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 229 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 219 const MessageCode messageCatchSyntax = const MessageCode("CatchSyntax", | 230 const MessageCode messageCatchSyntax = const MessageCode("CatchSyntax", |
| 220 dart2jsCode: "*ignored*", | 231 dart2jsCode: "*ignored*", |
| 221 message: | 232 message: |
| 222 r"""'catch' must be followed by '(identifier)' or '(identifier, identifi
er)'.""", | 233 r"""'catch' must be followed by '(identifier)' or '(identifier, identifi
er)'.""", |
| 223 tip: | 234 tip: |
| 224 r"""No types are needed, the first is given by 'on', the second is alway
s 'StackTrace'."""); | 235 r"""No types are needed, the first is given by 'on', the second is alway
s 'StackTrace'."""); |
| 225 | 236 |
| (...skipping 1161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1387 | 1398 |
| 1388 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1399 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 1389 const Code<Null> codeInternalProblemMissingContext = | 1400 const Code<Null> codeInternalProblemMissingContext = |
| 1390 messageInternalProblemMissingContext; | 1401 messageInternalProblemMissingContext; |
| 1391 | 1402 |
| 1392 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1403 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 1393 const MessageCode messageInternalProblemMissingContext = const MessageCode( | 1404 const MessageCode messageInternalProblemMissingContext = const MessageCode( |
| 1394 "InternalProblemMissingContext", | 1405 "InternalProblemMissingContext", |
| 1395 message: r"""Compiler cannot run without a compiler context.""", | 1406 message: r"""Compiler cannot run without a compiler context.""", |
| 1396 tip: | 1407 tip: |
| 1397 r"""Are calls to the compiler wrapped in CompilerContext.withGlobalOptio
ns?"""); | 1408 r"""Are calls to the compiler wrapped in CompilerContext.runInContext?""
"); |
| 1398 | 1409 |
| 1399 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1410 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 1400 const Template<Message Function(String name)> templateInternalProblemNotFound = | 1411 const Template<Message Function(String name)> templateInternalProblemNotFound = |
| 1401 const Template<Message Function(String name)>( | 1412 const Template<Message Function(String name)>( |
| 1402 messageTemplate: r"""Couldn't find '#name'.""", | 1413 messageTemplate: r"""Couldn't find '#name'.""", |
| 1403 withArguments: _withArgumentsInternalProblemNotFound); | 1414 withArguments: _withArgumentsInternalProblemNotFound); |
| 1404 | 1415 |
| 1405 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 1416 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 1406 const Code<Message Function(String name)> codeInternalProblemNotFound = | 1417 const Code<Message Function(String name)> codeInternalProblemNotFound = |
| 1407 const Code<Message Function(String name)>( | 1418 const Code<Message Function(String name)>( |
| (...skipping 1505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2913 r"""'yield' can't be used as an identifier in 'async', 'async*', or 'syn
c*' methods."""); | 2924 r"""'yield' can't be used as an identifier in 'async', 'async*', or 'syn
c*' methods."""); |
| 2914 | 2925 |
| 2915 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 2926 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 2916 const Code<Null> codeYieldNotGenerator = messageYieldNotGenerator; | 2927 const Code<Null> codeYieldNotGenerator = messageYieldNotGenerator; |
| 2917 | 2928 |
| 2918 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. | 2929 // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. |
| 2919 const MessageCode messageYieldNotGenerator = const MessageCode( | 2930 const MessageCode messageYieldNotGenerator = const MessageCode( |
| 2920 "YieldNotGenerator", | 2931 "YieldNotGenerator", |
| 2921 dart2jsCode: "*ignored*", | 2932 dart2jsCode: "*ignored*", |
| 2922 message: r"""'yield' can only be used in 'sync*' or 'async*' methods."""); | 2933 message: r"""'yield' can only be used in 'sync*' or 'async*' methods."""); |
| OLD | NEW |