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

Support shorthand hash for ruby 3.1 #567

Merged
merged 2 commits into from
Jun 10, 2022
Merged

Conversation

alpaca-tc
Copy link
Contributor

@alpaca-tc alpaca-tc commented Jun 5, 2022

Fixed: #510

I have just started using steep. Thanks for the great project 😄
This PR implements support for ruby3.1 shorthand hash.

before output

lib/a.rb:6:14: [error] SyntaxError: unexpected token tRPAREN
│ Diagnostic ID: Ruby::SyntaxError
│
└ Hello.world(x:)

Detected 1 problem from 1 file

after output

No type error detected. 🧉

Copy link
Owner

@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.

Thanks! 🙏

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.

Diagnostic Ruby::SyntaxError occurrence disables other diagnostics
2 participants