Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
plugins
/
groovy
/
testdata
/
groovy
/
inspections
/
rangeTypeCheck
/
NotComparable_after.groovy
blob: abe77012de5700cce0c61422a68bfaaddc561b71 [
file
] [
log
] [
blame
]
class
Foo
implements
Comparable
<
Foo
>
{
def
next
()
{
return
this
}
def
previous
()
{
return
this
}
@Override
int
compareTo
(
Foo
o
)
{
<selection>
return
0
</
selection
>
}
}
class
X
{
def
foo
()
{
final
ObjectRange
range
=
new
Foo
()..
new
Foo
()
}
}