cy
04/03/2017, 6:01 PMbeholder
04/03/2017, 6:03 PMhead { head { } } is prohibited, but b { b { } } is not?beholder
04/03/2017, 6:04 PMcy
04/03/2017, 6:07 PMbody {
// here this : Body
head {
// here this : Head
// this : Body is hidden in this scope
// but head requires receiver of type Body
// this is why it is
// not available inside of this block
}
}cy
04/03/2017, 6:07 PMhead { } invocation to hide outer this of type Bodycy
04/03/2017, 6:07 PMHead and another one of type Bodycy
04/03/2017, 6:08 PMHead is marked with annotation so outer this scopes are not visiblecy
04/03/2017, 6:10 PMcy
04/03/2017, 6:13 PMbeholder
04/03/2017, 6:27 PMb { b { ... } } call for example?