Skip to content

Commit

Permalink
Remove T.must from non nilable value
Browse files Browse the repository at this point in the history
  • Loading branch information
vinistock committed Feb 5, 2024
1 parent aa698d4 commit 685f434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rbi/parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ def visit_call_node(node)
def visit_assoc_node(node)
@current.params << SigParam.new(
node_string!(node.key).delete_suffix(":"),
node_string!(T.must(node.value)),
node_string!(node.value),
)
end
end
Expand Down

0 comments on commit 685f434

Please sign in to comment.