<refer from inner with to high level with function...
# stackoverflow
u
refer from inner with to high level with function In my code I have a struct like this post { req -> with(req.objectBody()) { logger.info { "Attempt to save person $this" } with(require().openSession()) { save(this@with) } } } But IDE warns me that there is more than one label with such a name. In this case save(this@with) I want to refer to with(req.objectBody) instance. How to achieve that?