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

Issue 1978603003: Lint to detect dangling identifiers in docs (#240). (Closed)

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

Description

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -3 lines) Patch
M lib/src/rules.dart View 2 chunks +2 lines, -0 lines 0 comments Download
A lib/src/rules/comment_references.dart View 1 chunk +60 lines, -0 lines 4 comments Download
M test/rule_test.dart View 2 chunks +9 lines, -3 lines 0 comments Download
A test/rules/comment_references.dart View 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
pquitslund
I don't know but this seems a little too easy... Am I missing something?
4 years, 7 months ago (2016-05-12 20:57:49 UTC) #2
scheglov
lgtm https://codereview.chromium.org/1978603003/diff/1/lib/src/rules/comment_references.dart File lib/src/rules/comment_references.dart (right): https://codereview.chromium.org/1978603003/diff/1/lib/src/rules/comment_references.dart#newcode33 lib/src/rules/comment_references.dart:33: void f(int outOfScopeId) { ... } Should there ...
4 years, 7 months ago (2016-05-12 21:08:46 UTC) #3
Brian Wilkerson
lgtm https://codereview.chromium.org/1978603003/diff/1/lib/src/rules/comment_references.dart File lib/src/rules/comment_references.dart (right): https://codereview.chromium.org/1978603003/diff/1/lib/src/rules/comment_references.dart#newcode19 lib/src/rules/comment_references.dart:19: identifiers in docs wrapped in brackets are in-scope. ...
4 years, 7 months ago (2016-05-13 14:37:19 UTC) #4
pquitslund
Committed patchset #1 (id:1) manually as 16598488ae006f45edae5ce4809246cfa1ca72c9 (presubmit successful).
4 years, 7 months ago (2016-05-13 21:12:46 UTC) #6
pquitslund
4 years, 7 months ago (2016-05-13 21:13:16 UTC) #7
Message was sent while issue was closed.
Thanks!

https://codereview.chromium.org/1978603003/diff/1/lib/src/rules/comment_refer...
File lib/src/rules/comment_references.dart (right):

https://codereview.chromium.org/1978603003/diff/1/lib/src/rules/comment_refer...
lib/src/rules/comment_references.dart:19: identifiers in docs wrapped in
brackets are in-scope.
On 2016/05/13 14:37:17, Brian Wilkerson wrote:
> nit: 'in-scope' --> 'in scope'

Done.

https://codereview.chromium.org/1978603003/diff/1/lib/src/rules/comment_refer...
lib/src/rules/comment_references.dart:33: void f(int outOfScopeId) { ... }
On 2016/05/12 21:08:46, scheglov wrote:
> Should there be a documentation comment that references something not
existing?

Acknowledged.

Powered by Google App Engine
This is Rietveld 408576698