Files
kotlin/compiler/testData/resolve/PropertyAndFunctionNameClash.resolve
2015-05-12 19:43:17 +02:00

26 lines
503 B
Plaintext
Vendored

open class HtmlTag
interface NavigationBuilder {
public var text: ((String) -> String)?
~in_NB~var inNavigationBuilder: Int
}
fun HtmlTag.navigation(body: NavigationBuilder.() -> Unit) {
}
fun HtmlTag.a(contents: A.() -> Unit) {
}
interface A : HtmlTag {
~text_in_A~var text: String
~in_A~var inA: Int
}
fun HtmlTag.test(a: String) {
navigation {
a {
`text_in_A`text = "1"
`in_NB`inNavigationBuilder = 1
`in_A`inA = 2
}
}
}