Skip to content

Unexpected warning when comparing with java.lang.Object #9953

Closed
@scabug

Description

@scabug

When I compare a java.lang.Object with a Scala type, the Scala compiler report the following warning:

Object and com.thoughtworks.binding.Binding.BindingSeq[String] are unrelated: they will most likely never compare equal

The warning is incorrect. The comparison does return true for my case.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions