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

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

Issue 1660703002: Share the first error messages. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Remove bad export. Created 4 years, 10 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/dart_messages/bin/publish.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 {"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_OR_FACTORY_WITH_BODY":{"id":"LGJGHW ","subId":0,"category":"ParserError","template":"Const constructor or factory ca n't have a body.","templateHoleOrder":null,"howToFix":"Remove the 'const' keywor d or the body.","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 m ain() => new C();"]},"CONST_CONSTRUCTOR_WITH_BODY":{"id":"LGJGHW","subId":1,"cat egory":"ParserError","template":"Const constructor can't have a body.","template HoleOrder":null,"howToFix":"Try removing the 'const' keyword or the body.","opti ons":null,"usedBy":["Platform.analyzer"],"examples":[" class C {\n const C() {}\n }\n\n main() => new C();"]},"CONST_FACTORY": {"id":"LGJGHW","subId":2,"category":"ParserError","template":"Only redirecting f actory constructors can be declared to be 'const'.","templateHoleOrder":null,"ho wToFix":"Try removing the 'const' keyword or replacing the body with '=' followe d by a valid target","options":null,"usedBy":["Platform.analyzer"],"examples":[" class C {\n const factory C() {}\n }\n\n main () => new C();"]}}
OLDNEW
« no previous file with comments | « pkg/dart_messages/bin/publish.dart ('k') | pkg/dart_messages/lib/shared_messages.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698