---
name: Report incorrect type definitions
about: This is for inaccuracies in Sorbet's type definitions (RBIs) for the standard library.
labels: bug, rbi, unconfirmed
---

<!--

Thanks for reporting inaccurate type definitions in Sorbet!

The Sorbet team is usually too busy to respond to requests to fix individual
bugs in these type annotations for the Ruby standard library.

https://sorbet.org/docs/faq#it-looks-like-sorbet-s-types-for-the-stdlib-are-wrong

Feel free to open an issue! But the issue will likely get fixed faster if you
change the RBI files yourself.

To make filling out this form faster:

1. Create a program showing the bug on https://sorbet.run
2. Find the "Examples ..." button in the top right
3. Click "Create issue with example" in the dropdown menu

This will pre-populate most of the form below.

-->


#### Input

[→ View on sorbet.run](TODO_replace_this_with_your_sorbet_run_link)

```ruby
# TODO: In addition to the sorbet.run link, replace this comment with your code
# (makes it easier to search for issues)
```

#### Observed output

```
TODO: Replace this with the output in sorbet.run
(sorbet.run output changes over time)
```

<!-- TODO: For issues where `srb tc` differs from the behavior of `sorbet-runtime`, please include the observed runtime output. -->

#### Expected behavior

<!-- TODO: Briefly explain what the expected behavior should be on this example. -->

- - -

<!-- TODO: If there is any additional information you'd like to include, include it here. -->

