// COMPILATION_ERRORS

fun foo(x: Any) {
    x.
    val foo = 1

    x.
    fun bar() = 2

    x.
    fun String.() = 3

    var a = 24.
    var b = 42.0
}

class A {
    val z = "a".
    val x = 4

    val y = "b".
    fun baz() = 5

    val q = "c".
    fun String.() = 6

    var a = 24.
    var b = 42.0
}
