OLD | NEW |
---|---|
1 {"exampleMessage":{"id":"use an Id generated by bin/message_id.dart","category": "AnalysisOptionsError","template":"#use #named #arguments","howToFix":"an explan ation on how to fix things"}} | 1 {"exampleMessage":{"id":"use an Id generated by bin/message_id.dart","subId":0," category":"AnalysisOptionsError","template":"#use #named #arguments","templateHo leOrder":["arguments","named","use"],"howToFix":"an explanation on how to fix th ings","options":null,"usedBy":[],"examples":[" Some multiline example;\n That generates the bug.",{"fileA.dart":" or a map from file to content .\n again multiline","fileB.dart":" with possibly multiple files.\ n muliline too"}]},"CONST_CONSTRUCTOR_HAS_BODY":{"id":"LGJGHW","subId":0, "category":"ParserError","template":"Const constructor or factory can't have a b ody.","templateHoleOrder":null,"howToFix":"Remove the 'const' keyword or the bod y.","options":null,"usedBy":["Platform.dart2js"],"examples":[" class C { \n const C() {}\n }\n\n main() => new C();"," class C {\n const factory C() {}\n }\n\n main() => new C();"]},"CONST_CONSTRUCTOR_WITH_BODY":{"id":"LGJGHW","subId":1,"category":"Pars erError","template":"Const constructor or factory can't have a body.","templateH oleOrder":null,"howToFix":"Remove the 'const' keyword or the body.","options":nu ll,"usedBy":["Platform.analyzer"],"examples":[" class C {\n co nst C() {}\n }\n\n main() => new C();"]},"CONST_FACTORY":{"id":" LGJGHW","subId":2,"category":"ParserError","template":"Only redirecting factory constructors can be declared to be 'const'","templateHoleOrder":null,"howToFix": "Remove the 'const' keyword or replace the body with '=' followed by a valid tar get","options":null,"usedBy":["Platform.analyzer"],"examples":[" class C {\n const factory C() {}\n }\n\n main() => new C();"] }} |
floitsch
2016/02/02 22:09:19
I now include everything in the JSON, to make sure
| |
OLD | NEW |