Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
plugins
/
groovy
/
testdata
/
resolve
/
property
/
fieldAccessInClosureVsStaticContext
/
A.groovy
blob: 4a426f878a87f32ba393e58263611a36c9a7a8a9 [
file
] [
log
] [
blame
]
class
MyDom
{
static
void
main
(
String
[]
args
)
{
new
Foo
().
foo
({
print
ba
<ref>
r
});
}
}
class
Foo
{
def
bar
=
2
def
foo
(
Closure
c
)
{
c
.
delegate
=
this
c
.
call
()
}
}