blob: d21c4d407ea9936c71cca1db609ed399e853848e [file]
// FIR_IDENTICAL
//KT-3988 This@label for outer function not resolved
class Comment() {
var article = ""
}
class Comment2() {
var article2 = ""
}
fun new(body: Comment.() -> Unit) = body
fun new2(body: Comment2.() -> Unit) = body
fun main() {
new {
new2 {
this@new //UNRESOLVED REFERENCE
}
}
}