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 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 ] | 434 ] |
435 }, | 435 }, |
436 "UNDEFINED_METHOD_WITH_CONSTRUCTOR": { | 436 "UNDEFINED_METHOD_WITH_CONSTRUCTOR": { |
437 "id": "ERUSKD", | 437 "id": "ERUSKD", |
438 "subId": 2, | 438 "subId": 2, |
439 "categories": [ | 439 "categories": [ |
440 "StaticTypeWarning" | 440 "StaticTypeWarning" |
441 ], | 441 ], |
442 "template": "The method '#{memberName}' is not defined for the class '#{clas
sName}', but a constructor with that name is defined.", | 442 "template": "The method '#{memberName}' is not defined for the class '#{clas
sName}', but a constructor with that name is defined.", |
443 "templateHoleOrder": null, | 443 "templateHoleOrder": null, |
444 "howToFix": "Try adding 'new' or 'const' to invoke the constuctor, or change
the method name.", | 444 "howToFix": "Try adding 'new' or 'const' to invoke the constructor, or chang
e the method name.", |
445 "options": null, | 445 "options": null, |
446 "usedBy": [ | 446 "usedBy": [ |
447 "Platform.analyzer" | 447 "Platform.analyzer" |
448 ], | 448 ], |
449 "examples": [ | 449 "examples": [ |
450 " class A {\n A.bar() {}\n }\n main() { A.ba
r(); }\n " | 450 " class A {\n A.bar() {}\n }\n main() { A.ba
r(); }\n " |
451 ] | 451 ] |
452 }, | 452 }, |
453 "UNDEFINED_GETTER": { | 453 "UNDEFINED_GETTER": { |
454 "id": "ERUSKD", | 454 "id": "ERUSKD", |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
679 ], | 679 ], |
680 "examples": [ | 680 "examples": [ |
681 " main() {\n final x = 1;\n x = 2;\n }", | 681 " main() {\n final x = 1;\n x = 2;\n }", |
682 " main() {\n const x = 1;\n x = 2;\n }\n
", | 682 " main() {\n const x = 1;\n x = 2;\n }\n
", |
683 " final x = 1;\n main() { x = 3; }\n ", | 683 " final x = 1;\n main() { x = 3; }\n ", |
684 " const x = 1;\n main() { x = 3; }\n ", | 684 " const x = 1;\n main() { x = 3; }\n ", |
685 "get foo => null main() { foo = 5; }", | 685 "get foo => null main() { foo = 5; }", |
686 "const foo = 0 main() { foo = 5; }" | 686 "const foo = 0 main() { foo = 5; }" |
687 ] | 687 ] |
688 } | 688 } |
689 } | 689 } |
OLD | NEW |