Skip to content

aabb_helpers.rb:19: warning: `&' interpreted as argument prefix #62

Description

There are several warnings using &

not sure if you want to fix, or keep it. I guess it depends on your style.

The fix would be to change:

@root.each_leaf &blk

to

@root.each_leaf(&blk)

I've seen other ruby guys use the same though, they dont like the ()
so perhaps the real fix is to ask ruby core to change this warning
hehehehe.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions