Skip to content

Commit 0fe3f81

Browse files
authored
Merge pull request #3016 from Shopify/codex/remove-rdoc-parser
Deprecate RDoc plugin parser
2 parents 179eee2 + f0e5042 commit 0fe3f81

2 files changed

Lines changed: 5 additions & 391 deletions

File tree

lib/rdoc_plugin/parser.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ def initialize(top_level, content)
1414
end
1515

1616
def scan
17+
Kernel.warn(
18+
"The RBS RDoc parser plugin is deprecated and will be removed from RBS. " \
19+
"RDoc 8.0 provides RBS parsing directly."
20+
)
21+
1722
_, _, decls = ::RBS::Parser.parse_signature(@content)
1823
decls.each do |decl|
1924
parse_member(decl: decl, context: @top_level)

0 commit comments

Comments
 (0)