Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
plugins
/
groovy
/
testdata
/
highlighting
/
lambda
/
PathCallIsNotApplicable.groovy
blob: 67b29d2bc6a9b8887c57df6a1e690f20ad505c8b [
file
]
class
IntCategory
{
static
def
call
(
Integer
i
,
int
q
)
{
return
(
String
s
)
->
s
+
q
}
}
use
(
IntCategory
,()
->
{
print
2
(
3
)<
warning descr
=
"'call' cannot be applied to '(java.lang.String, java.lang.String)'"
>(
"a"
,
"b"
)</
warning
>
})