Skip to content

Commit e159f2e

Browse files
committed
Drop the doc comment for the hidden forwarding parameter argument
`enable_forwarding_params` is a hidden argument on private entry points, so it doesn't belong in the signature's documentation. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015bgoC4byczqmYRzNrDkVrL
1 parent 5897241 commit e159f2e

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

sig/parser.rbs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,6 @@ module RBS
136136

137137
def self._parse_type: (Buffer, Integer start_pos, Integer end_pos, Array[Symbol] variables, bool require_eof, bool void_allowed, bool self_allowed, bool classish_allowed) -> Types::t?
138138

139-
# The `enable_forwarding_params` argument enables `(...)` forwarding
140-
# parameters, which are experimental and have no type checking semantics
141-
# yet. It is deliberately not exposed through the public `parse_*` methods,
142-
# so signatures written for the gem can't use the syntax.
143139
def self._parse_method_type: (Buffer, Integer start_pos, Integer end_pos, Array[Symbol] variables, bool require_eof, bool enable_forwarding_params) -> MethodType?
144140

145141
def self._parse_signature: (Buffer, Integer start_pos, Integer end_pos, bool enable_forwarding_params) -> [Array[AST::Directives::t], Array[AST::Declarations::t]]

0 commit comments

Comments
 (0)