Skip to content
Browse files Amend `position`

`TextPosition` is now accepted by
`DocumentationComment` instead of `range`.
Closes #1857
  • Loading branch information
damngamerz committed Jun 25, 2017
1 parent 14b2d48 commit 40de247b8befaece1c7ea40239f5d9009ee0cdfa
Showing with 1 addition and 1 deletion.
  1. +1 −1 bears/documentation/
@@ -98,7 +98,7 @@ def run(self, filename, file, language: str,

new_comment = DocumentationComment.from_metadata(
new_metadata, doc_comment.docstyle_definition,
doc_comment.marker, doc_comment.indent, doc_comment.range)
doc_comment.marker, doc_comment.indent, doc_comment.position)

if new_comment != doc_comment:
# Something changed, let's apply a result.

0 comments on commit 40de247

Please sign in to comment.
You can’t perform that action at this time.