| 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 # Each entry in this map corresponds to a diagnostic message. Ideally, each | 5 # Each entry in this map corresponds to a diagnostic message. Ideally, each |
| 6 # entry contains three parts: | 6 # entry contains three parts: |
| 7 # | 7 # |
| 8 # 1. A message template (template). | 8 # 1. A message template (template). |
| 9 # | 9 # |
| 10 # 2. A suggestion for how to correct the problem (tip). | 10 # 2. A suggestion for how to correct the problem (tip). |
| (...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 570 Unsupported: | 570 Unsupported: |
| 571 template: "Unsupported operation: '#name'." | 571 template: "Unsupported operation: '#name'." |
| 572 | 572 |
| 573 NamedFunctionExpression: | 573 NamedFunctionExpression: |
| 574 template: "A function expression can't have a name." | 574 template: "A function expression can't have a name." |
| 575 dart2jsCode: "*ignored*" | 575 dart2jsCode: "*ignored*" |
| 576 | 576 |
| 577 ReturnTypeFunctionExpression: | 577 ReturnTypeFunctionExpression: |
| 578 template: "A function expression can't have a return type." | 578 template: "A function expression can't have a return type." |
| 579 dart2jsCode: "*ignored*" | 579 dart2jsCode: "*ignored*" |
| 580 |
| 581 MissingMain: |
| 582 template: "No 'main' method found." |
| 583 tip: "Try adding a method named 'main' to your program." |
| 584 dart2jsCode: MISSING_MAIN |
| 585 |
| 586 MissingInputFile: |
| 587 template: "Input file not found: #string." |
| 588 |
| 589 MissingSdkRoot: |
| 590 template: "SDK root directory not found: #string." |
| 591 |
| 592 MissingSdkSummary: |
| 593 template: "SDK summary not found: #string." |
| 594 |
| 595 VerificationError: |
| 596 template: "An internal error was found while verifying the output of the compi
ler. #string" |
| OLD | NEW |