Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
plugins
/
groovy
/
testdata
/
resolve
/
property
/
operatorOverload
/
A.groovy
blob: bd96881fad79ec113e7432736f663c03f1d96a90 [
file
] [
log
] [
blame
]
class
Tick
{
public
int
seconds
;
Tick
plus
(
int
i
)
{
return
new
Tick
(
seconds
:
seconds
+
i
)
}
Object
plus
(
String
i
)
{
return
new
Tick
(
seconds
:
seconds
+
i
)
}
}
def
t
=
new
Tick
()
print
((
t
+
1
).<
ref
>
seconds
)