Skip to content

Commit

Permalink
Skip reftags in see afterparse (fixes #1111)
Browse files Browse the repository at this point in the history
  • Loading branch information
lsegal committed Aug 21, 2017
1 parent 1172b1d commit 1c65b28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/yard/docstring_parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ def call_after_parse_callbacks
next unless parser.object

parser.tags.each_with_index do |tag, i|
next if tag.is_a?(Tags::RefTagList) # we don't handle this yet
next unless tag.tag_name == "see"
next unless "#{tag.name}#{tag.text}" =~ /\A\{.*\}\Z/
infile_info = "\n in file `#{parser.object.file}' " \
Expand Down

0 comments on commit 1c65b28

Please sign in to comment.