Skip to content

Fix "ambiguous first argument" warning in test suite #189

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

Merged
merged 3 commits into from
May 6, 2025

Conversation

casperisfine
Copy link
Contributor

test/fiddle/test_pointer.rb:288: warning: ambiguous first argument;
put parentheses or a space even after '-' operator

I noticed this in one of my ruby builds: https://github.com/ruby/ruby/actions/runs/14838247932/job/41654544867?pr=13159#step:8:1818

cc @kou @ankane

```
test/fiddle/test_pointer.rb:288: warning: ambiguous first argument;
put parentheses or a space even after '-' operator
```
@kou kou merged commit eb285e8 into ruby:master May 6, 2025
62 of 66 checks passed
@kou
Copy link
Member

kou commented May 6, 2025

Good catch!

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.

3 participants