From 1a7e73a7e58e015bb991f71185293b760ceecd83 Mon Sep 17 00:00:00 2001 From: Brian Wilkerson Date: Wed, 29 Apr 2026 16:01:37 -0700 Subject: [PATCH] Update docs for lints that are removed for primary constructors IIRC, we don't actually change the status of such lints until they can no longer be used via a language override. Let me know if that's not the case. Also, if the feature doesn't ship in 3.14 then I'll need to update the comments. Not sure whether I should commit now or wait until the flag flip. Change-Id: If73c6e121dfb3d6b8a72c52275dcaa9e1e994041 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/498740 Reviewed-by: Samuel Rawlins Commit-Queue: Brian Wilkerson --- pkg/linter/messages.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkg/linter/messages.yaml b/pkg/linter/messages.yaml index 11d0eda2fb0..6cdf7d402d4 100644 --- a/pkg/linter/messages.yaml +++ b/pkg/linter/messages.yaml @@ -1514,6 +1514,8 @@ LinterLintCode: categories: [style] hasPublishedDocs: false documentation: |- + NOTE: This rule is removed in Dart 3.13.0; it is no longer functional. + #### Description The analyzer produces this diagnostic when a parameter declaration is @@ -10139,6 +10141,8 @@ LinterLintCode: categories: [style] hasPublishedDocs: true documentation: |- + NOTE: This rule is removed in Dart 3.13.0; it is no longer functional. + #### Description The analyzer produces this diagnostic when a parameter of a constructor, @@ -13889,7 +13893,7 @@ LinterLintCode: problemMessage: "Unnecessary 'const' keyword in an enum constructor." correctionMessage: "Try removing the keyword." state: - experimental: "3.14" + experimental: "3.13" categories: [brevity, style] hasPublishedDocs: false documentation: |- @@ -17357,6 +17361,8 @@ LinterLintCode: categories: [languageFeatureUsage] hasPublishedDocs: false documentation: |- + NOTE: This rule is removed in Dart 3.13.0; it is no longer functional. + #### Description The analyzer produces this diagnostic when a parameter is