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

Unified Diff: pkg/dart_messages/lib/generated/shared_messages.json

Issue 1768143003: Use specific messages for const constructor with body. (Closed) Base URL: https://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 side-by-side diff with in-line comments
Download patch
Index: pkg/dart_messages/lib/generated/shared_messages.json
diff --git a/pkg/dart_messages/lib/generated/shared_messages.json b/pkg/dart_messages/lib/generated/shared_messages.json
index 7693f4af48e96a14db37f9073b0941052bfdcb67..74457a4505638076384aae74ded94d8179075280 100644
--- a/pkg/dart_messages/lib/generated/shared_messages.json
+++ b/pkg/dart_messages/lib/generated/shared_messages.json
@@ -32,9 +32,7 @@
"templateHoleOrder": null,
"howToFix": "Remove the 'const' keyword or the body.",
"options": null,
- "usedBy": [
- "Platform.dart2js"
- ],
+ "usedBy": [],
"examples": [
" class C {\n const C() {}\n }\n\n main() => new C();",
" class C {\n const factory C() {}\n }\n\n main() => new C();"
@@ -51,7 +49,8 @@
"howToFix": "Try removing the 'const' keyword or the body.",
"options": null,
"usedBy": [
- "Platform.analyzer"
+ "Platform.analyzer",
+ "Platform.dart2js"
],
"examples": [
" class C {\n const C() {}\n }\n\n main() => new C();"
@@ -68,7 +67,8 @@
"howToFix": "Try removing the 'const' keyword or replacing the body with '=' followed by a valid target.",
"options": null,
"usedBy": [
- "Platform.analyzer"
+ "Platform.analyzer",
+ "Platform.dart2js"
],
"examples": [
" class C {\n const factory C() {}\n }\n\n main() => new C();"

Powered by Google App Engine
This is Rietveld 408576698