| 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 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 471 | 471 |
| 472 FinalFieldWithoutInitializer: | 472 FinalFieldWithoutInitializer: |
| 473 template: "A 'final' field must be initialized." | 473 template: "A 'final' field must be initialized." |
| 474 tip: "Try adding '= <initializer>'." | 474 tip: "Try adding '= <initializer>'." |
| 475 dart2jsCode: "*ignored*" | 475 dart2jsCode: "*ignored*" |
| 476 | 476 |
| 477 MetadataTypeArguments: | 477 MetadataTypeArguments: |
| 478 template: "An annotation (metadata) can't use type arguments." | 478 template: "An annotation (metadata) can't use type arguments." |
| 479 dart2jsCode: "*ignored*" | 479 dart2jsCode: "*ignored*" |
| 480 | 480 |
| 481 ClassNotFound: |
| 482 template: "Couldn't find a class named '#name'." |
| 483 |
| 481 ConstructorNotFound: | 484 ConstructorNotFound: |
| 482 template: "Couldn't find constructor '#name'." | 485 template: "Couldn't find a constructor named '#name'." |
| 486 |
| 487 NotAConstructor: |
| 488 template: "'#name' isn't a constructor." |
| 483 | 489 |
| 484 RedirectionTargetNotFound: | 490 RedirectionTargetNotFound: |
| 485 template: "Redirection constructor target not found: '#name'" | 491 template: "Redirection constructor target not found: '#name'" |
| 486 | 492 |
| 487 CyclicTypedef: | 493 CyclicTypedef: |
| 488 template: "The typedef '#name' has a reference to itself." | 494 template: "The typedef '#name' has a reference to itself." |
| 489 | 495 |
| 490 TypeNotFound: | 496 TypeNotFound: |
| 491 template: "Type '#name' not found." | 497 template: "Type '#name' not found." |
| 492 | 498 |
| (...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 911 PackageNotFound: | 917 PackageNotFound: |
| 912 template: "Could not resolve the package '#name' in '#uri'." | 918 template: "Could not resolve the package '#name' in '#uri'." |
| 913 | 919 |
| 914 InvalidPackageUri: | 920 InvalidPackageUri: |
| 915 template: "Invalid package Uri '#uri':\n #string." | 921 template: "Invalid package Uri '#uri':\n #string." |
| 916 | 922 |
| 917 IntegerLiteralIsOutOfRange: | 923 IntegerLiteralIsOutOfRange: |
| 918 template: "The integer literal #lexeme can't be represented in 64 bits." | 924 template: "The integer literal #lexeme can't be represented in 64 bits." |
| 919 tip: "Try using BigInt (from 'dart:typed_data' library) if you need an integer
larger than 9,223,372,036,854,775,807 or less than -9,223,372,036,854,775,808." | 925 tip: "Try using BigInt (from 'dart:typed_data' library) if you need an integer
larger than 9,223,372,036,854,775,807 or less than -9,223,372,036,854,775,808." |
| 920 | 926 |
| OLD | NEW |