Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Side by Side Diff: pkg/dart_messages/lib/generated/shared_messages.json

Issue 1769043002: Don't assume that we always have a HowToFix and remove failing test. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pkg/compiler/lib/src/typechecker.dart ('k') | pkg/dart_messages/lib/shared_messages.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/typechecker.dart ('k') | pkg/dart_messages/lib/shared_messages.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698