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

Generate nested declarations #700

Merged

Conversation

raosush
Copy link
Contributor

@raosush raosush commented Jul 5, 2021

Description

  • Generate nested declarations while using rbs prototype runtime

Proposal

Example

image

Fixes: #562

Signed-off-by: Sushanth Sathesh Rao rao.sush004@gmail.com

- Generate nested declarations while using `rbs prototype runtime`

Signed-off-by: Sushanth Sathesh Rao <rao.sush004@gmail.com>
@raosush raosush force-pushed the generate_nested_declarations_for_runtime_prototype branch from dc6a25a to 1222c3c Compare July 5, 2021 06:26
@raosush
Copy link
Contributor Author

raosush commented Jul 5, 2021

  • Update RuntimePrototypeTest.rb

@soutaro
Copy link
Member

soutaro commented Jul 5, 2021

Great improvement! 👏

The code looks good generally. Update the test please, then I can finalize the PR/review.

@soutaro soutaro self-assigned this Jul 5, 2021
@raosush
Copy link
Contributor Author

raosush commented Jul 5, 2021

Update the test please, then I can finalize the PR/review.

@soutaro Sir, the test has been updated and all checks are passing

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.

Great work! 👏

@soutaro soutaro merged commit aaa6d01 into ruby:master Jul 11, 2021
@raosush raosush deleted the generate_nested_declarations_for_runtime_prototype branch July 12, 2021 03:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

[prototype runtime] Generate classes with the nested style
2 participants