Skip to content

Comparable#== will no more rescue exceptions of #<=> in the next release (after 2.2.2). #21

@jdickey

Description

@jdickey

laser --help gives the following error when using Ruby 2.2.2. It gives it 3,820 times.

/usr/local/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/laser-0.7.0.pre2/lib/laser/analysis/control_flow/static_single_assignment.rb:174: warning: Comparable#== will no more rescue exceptions of #<=> in the next release.
/usr/local/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/laser-0.7.0.pre2/lib/laser/analysis/control_flow/static_single_assignment.rb:174: warning: Return nil in #<=> if the comparison is inappropriate or avoid such comparison.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions