Sign in
android
/
platform
/
tools
/
idea
/
2250e7e055295bee73366d360d15ea0270573ef6
/
.
/
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
)