| OLD | NEW |
| 1 { | 1 { |
| 2 "exampleMessage": { | 2 "exampleMessage": { |
| 3 "id": "use an Id generated by bin/message_id.dart", | 3 "id": "use an Id generated by bin/message_id.dart", |
| 4 "subId": 0, | 4 "subId": 0, |
| 5 "categories": [ | 5 "categories": [ |
| 6 "AnalysisOptionsError" | 6 "AnalysisOptionsError" |
| 7 ], | 7 ], |
| 8 "template": "#use #named #arguments", | 8 "template": "#use #named #arguments", |
| 9 "templateHoleOrder": [ | 9 "templateHoleOrder": [ |
| 10 "arguments", | 10 "arguments", |
| (...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 636 ], | 636 ], |
| 637 "template": "The setter '#{memberName}' is not defined in a superclass of '#
{className}'.", | 637 "template": "The setter '#{memberName}' is not defined in a superclass of '#
{className}'.", |
| 638 "templateHoleOrder": null, | 638 "templateHoleOrder": null, |
| 639 "howToFix": null, | 639 "howToFix": null, |
| 640 "options": null, | 640 "options": null, |
| 641 "usedBy": [ | 641 "usedBy": [ |
| 642 "Platform.analyzer", | 642 "Platform.analyzer", |
| 643 "Platform.dart2js" | 643 "Platform.dart2js" |
| 644 ], | 644 ], |
| 645 "examples": [ | 645 "examples": [ |
| 646 " class A {}\n class B extends A {\n foo() { super.
x = 499; }\n }\n main() { new B().foo(); }\n ", | 646 " class A {}\n class B extends A {\n foo() { super.
x = 499; }\n }\n main() { new B().foo(); }\n " |
| 647 " main() => new B().m();\n class A {\n get x => 1;\
n }\n class B extends A {\n m() { super.x = 2; }\n
}\n " | |
| 648 ] | 647 ] |
| 649 }, | 648 }, |
| 650 "UNDEFINED_FUNCTION": { | 649 "UNDEFINED_FUNCTION": { |
| 651 "id": "ERUSKD", | 650 "id": "ERUSKD", |
| 652 "subId": 13, | 651 "subId": 13, |
| 653 "categories": [ | 652 "categories": [ |
| 654 "StaticTypeWarning" | 653 "StaticTypeWarning" |
| 655 ], | 654 ], |
| 656 "template": "The function '#{memberName}' is not defined.", | 655 "template": "The function '#{memberName}' is not defined.", |
| 657 "templateHoleOrder": null, | 656 "templateHoleOrder": null, |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 697 "examples": [ | 696 "examples": [ |
| 698 " main() {\n final x = 1;\n x = 2;\n }", | 697 " main() {\n final x = 1;\n x = 2;\n }", |
| 699 " main() {\n const x = 1;\n x = 2;\n }\n
", | 698 " main() {\n const x = 1;\n x = 2;\n }\n
", |
| 700 " final x = 1;\n main() { x = 3; }\n ", | 699 " final x = 1;\n main() { x = 3; }\n ", |
| 701 " const x = 1;\n main() { x = 3; }\n ", | 700 " const x = 1;\n main() { x = 3; }\n ", |
| 702 "get foo => null main() { foo = 5; }", | 701 "get foo => null main() { foo = 5; }", |
| 703 "const foo = 0 main() { foo = 5; }" | 702 "const foo = 0 main() { foo = 5; }" |
| 704 ] | 703 ] |
| 705 } | 704 } |
| 706 } | 705 } |
| OLD | NEW |