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

Suppress literal in void context warning #99

Closed

Conversation

pocke
Copy link
Member

@pocke pocke commented Dec 24, 2021

typeprof command prints the following warning with -w Ruby option.

$ RUBYOPT=-w typeprof --version
(none):1: warning: possibly useless use of a literal in void context
typeprof 0.21.1

RubyVM::AbstractSyntaxTree.parse("1") causes the warning. So this PR changes the dummy code.

@mame
Copy link
Member

mame commented May 24, 2024

Sorry, I messed this PR up. I have committed your patch with you as a co-author at b11af89. Forgive me for this.

@mame mame closed this May 24, 2024
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.

None yet

2 participants