stepango
03/07/2017, 4:11 AMthis.resourceId
and resourceId
points to the same property, Intellij shows warning for this example but there is a lot of situations when it's don't.
The problem is that i don't expect Test.resourceId
to be shadowed in this case
There is a ways to avoid this behaviour I'm aware of:
1. Obviously change value name
2. resourceId = this@Test.resourceId