| Index: pkg/compiler/lib/src/diagnostics/dart2js_messages.dart
|
| diff --git a/pkg/compiler/lib/src/diagnostics/dart2js_messages.dart b/pkg/compiler/lib/src/diagnostics/dart2js_messages.dart
|
| index 0f4e6247c53531ed8f8431ea22ce6300da54742b..644260258144b9ea1f57c180f64db813c012bcd6 100644
|
| --- a/pkg/compiler/lib/src/diagnostics/dart2js_messages.dart
|
| +++ b/pkg/compiler/lib/src/diagnostics/dart2js_messages.dart
|
| @@ -1777,6 +1777,23 @@ part of library;
|
| 'template': 'The library is imported here.',
|
| },
|
|
|
| + 'LOAD_PART_OF': {
|
| + 'id': 'MFMRRL',
|
| + 'template': "The main application file must not have a 'part-of' "
|
| + "directive.",
|
| + 'howToFix': "Try removing the 'part-of' directive or starting compilation "
|
| + "from another file.",
|
| + 'examples': [
|
| + {
|
| + 'main.dart': """
|
| +part of library;
|
| +
|
| +main() {}
|
| +"""
|
| + }
|
| + ],
|
| + },
|
| +
|
| 'LIBRARY_NAME_MISMATCH': {
|
| 'id': 'AXGYPQ',
|
| 'template': "Expected part of library name '#{libraryName}'.",
|
|
|