Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Support for RBS 2.0 Bounded Generics #487

Closed
tlubz opened this issue Feb 16, 2022 · 0 comments · Fixed by #499
Closed

[Feature Request] Support for RBS 2.0 Bounded Generics #487

tlubz opened this issue Feb 16, 2022 · 0 comments · Fixed by #499

Comments

@tlubz
Copy link

tlubz commented Feb 16, 2022

RBS 2.0 added support for bounded type parameters on generics: https://github.com/ruby/rbs/blob/master/CHANGELOG.md#bounded-generics

Can we see bounded generics checked correctly in steep? We would like to begin using these for e.g. generic Response[T < _Base] types, to prove that T responds to members of _Base.

If this is already being worked on, is there a target for which gem version will contain this functionality?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant