lib/rdoc_plugin/parser.rb in rbs-3.0.0.dev.1 vs lib/rdoc_plugin/parser.rb in rbs-3.0.0.dev.2

- old
+ new

@@ -12,11 +12,11 @@ @top_level = top_level @content = content end def scan - ast = ::RBS::Parser.parse_signature(@content) - ast.each do |decl| + _, _, decls = ::RBS::Parser.parse_signature(@content) + decls.each do |decl| parse_member(decl: decl, context: @top_level) end @top_level end