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

Issue 1736383002: Quick-fix for `annotate_overrides` lint (#25416). (Closed)

Created:
4 years, 10 months ago by pquitslund
Modified:
4 years, 10 months ago
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Quick-fix for `annotate_overrides` lint (#25416). An interim approach to shoe lint-awareness into the dart FixProcessor. Once we have a a shareable processor base class we can migrate these bits into a dedicated LintFixProcessor contributed by the LintServerPlugin. See: https://github.com/dart-lang/sdk/issues/25416 BUG= R=scheglov@google.com Committed: https://github.com/dart-lang/sdk/commit/549a7a4d00c73a918439cdcb3601001e1955a581

Patch Set 1 #

Total comments: 4

Patch Set 2 : rev_fixes #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -63 lines) Patch
M pkg/analysis_server/lib/src/services/correction/fix.dart View 1 3 chunks +6 lines, -3 lines 1 comment Download
M pkg/analysis_server/lib/src/services/correction/fix_internal.dart View 1 3 chunks +24 lines, -0 lines 0 comments Download
M pkg/analysis_server/test/services/correction/fix_test.dart View 3 chunks +163 lines, -60 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
pquitslund
4 years, 10 months ago (2016-02-26 22:13:37 UTC) #2
scheglov
LGTM https://codereview.chromium.org/1736383002/diff/1/pkg/analysis_server/lib/src/services/correction/fix.dart File pkg/analysis_server/lib/src/services/correction/fix.dart (right): https://codereview.chromium.org/1736383002/diff/1/pkg/analysis_server/lib/src/services/correction/fix.dart#newcode170 pkg/analysis_server/lib/src/services/correction/fix.dart:170: const FixKind('ADD_OVERRIDE', 50, "Add '@override' annotation"); Maybe use ...
4 years, 10 months ago (2016-02-26 22:17:21 UTC) #3
pquitslund
Thanks! https://codereview.chromium.org/1736383002/diff/1/pkg/analysis_server/lib/src/services/correction/fix.dart File pkg/analysis_server/lib/src/services/correction/fix.dart (right): https://codereview.chromium.org/1736383002/diff/1/pkg/analysis_server/lib/src/services/correction/fix.dart#newcode170 pkg/analysis_server/lib/src/services/correction/fix.dart:170: const FixKind('ADD_OVERRIDE', 50, "Add '@override' annotation"); On 2016/02/26 ...
4 years, 10 months ago (2016-02-26 22:21:13 UTC) #4
pquitslund
Committed patchset #2 (id:20001) manually as 549a7a4d00c73a918439cdcb3601001e1955a581 (presubmit successful).
4 years, 10 months ago (2016-02-26 22:23:11 UTC) #6
Brian Wilkerson
LGTM https://codereview.chromium.org/1736383002/diff/20001/pkg/analysis_server/lib/src/services/correction/fix.dart File pkg/analysis_server/lib/src/services/correction/fix.dart (right): https://codereview.chromium.org/1736383002/diff/20001/pkg/analysis_server/lib/src/services/correction/fix.dart#newcode49 pkg/analysis_server/lib/src/services/correction/fix.dart:49: bool hasFix(ErrorCode errorCode) => This method should be ...
4 years, 10 months ago (2016-02-26 22:43:35 UTC) #7
pquitslund
4 years, 10 months ago (2016-02-26 22:49:37 UTC) #8
Message was sent while issue was closed.
On 2016/02/26 22:43:35, Brian Wilkerson wrote:
> LGTM
> 
>
https://codereview.chromium.org/1736383002/diff/20001/pkg/analysis_server/lib...
> File pkg/analysis_server/lib/src/services/correction/fix.dart (right):
> 
>
https://codereview.chromium.org/1736383002/diff/20001/pkg/analysis_server/lib...
> pkg/analysis_server/lib/src/services/correction/fix.dart:49: bool
> hasFix(ErrorCode errorCode) =>
> This method should be updated. It's how Atom knows to indicate that a fix is
> available.

Yes!  Thank you.  I thought of that and then totally spaced.  Update here:

https://codereview.chromium.org/1741133002/

Powered by Google App Engine
This is Rietveld 408576698