Sign in
android
/
platform
/
tools
/
idea
/
2250e7e055295bee73366d360d15ea0270573ef6
/
.
/
plugins
/
groovy
/
testdata
/
highlighting
/
PassingCollectionSubtractionIntoGenericMethod.groovy
blob: 3eb09b2d240bef2ba0bc905a57748945b4a6a00f [
file
] [
log
] [
blame
]
def
foo
(
Set
<
String
>
zzz
)
{
def
xxx
=
[
'a'
]
as
Set
<
String
>
while
(
xxx
)
{
def
sub
=
xxx
-
xxx
.
iterator
().
next
()
xxx
=
bar
(
sub
,
zzz
)
<
warning descr
=
"Cannot resolve symbol 'doo'"
>
doo
</
warning
>()
}
}
def
<
T
>
Set
<
T
>
bar
(
Set
<
T
>
xxx
,
Set
<
T
>
yyy
)
{
xxx
}