Sign in
android
/
platform
/
tools
/
idea
/
c810bbf46e7246636afe1d18947a460cedc5d24d
/
.
/
plugins
/
groovy
/
testdata
/
highlighting
/
ClosureCallMethodWithInapplicableArguments.groovy
blob: 01c6770962795f9a9c46022d0d2965e7f5afe82d [
file
] [
log
] [
blame
]
def
foo
={
x
,
y
->}
print
foo
.
call
<
warning descr
=
"'call' in 'groovy.lang.Closure<java.lang.Void>' cannot be applied to '(java.lang.Integer)'"
>(
1
)</
warning
>
def
bar
={
3
}
print
bar
.
call
()
print
bar
.
call
(
3
)