Skip to content

Conversation

@pocke
Copy link
Member

@pocke pocke commented Jan 6, 2020

This pull request adds types to Hash class.
I think we can mark Hash class as "done" by this pull request.

@pocke pocke changed the title [WIP] Hash type Hash type Jan 8, 2020
@pocke
Copy link
Member Author

pocke commented Jan 8, 2020

@soutaro It's ready to review now. Could you review this pull request?

Copy link
Member

@soutaro soutaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Finished writing comments. @pocke

pocke added a commit to pocke/rbs that referenced this pull request Jan 12, 2020
pocke added a commit to pocke/rbs that referenced this pull request Jan 12, 2020
pocke added a commit to pocke/rbs that referenced this pull request Jan 12, 2020
@pocke
Copy link
Member Author

pocke commented Jan 12, 2020

Thanks for your review. I've applied the all reviewed changes.

Copy link
Member

@soutaro soutaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Squash if you want. @pocke

deconstruct_keys also receives nil

ruby#177 (comment)

Hash#[] returns the value type without nil

ruby#177 (comment)

Fix `Hash[[:a, 1], [:b, 2]]` style arguments

Small fixes

* ruby#177 (comment)
* ruby#177 (comment)
* ruby#177 (comment)
* ruby#177 (comment)

Fix Hash#transform_*! types
@pocke
Copy link
Member Author

pocke commented Jan 13, 2020

I squashed the commit for review comments to one.
Thanks!

@soutaro soutaro merged commit b6aab4d into ruby:master Jan 13, 2020
@pocke pocke deleted the hash branch January 13, 2020 12:24
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 this pull request may close these issues.

2 participants