do you think intellij should warn about a mistake ...
# announcements
p
do you think intellij should warn about a mistake like this?
Copy code
class MyClass(var prop: String)

fun foo() {
    MyClass("Hi")
        .apply { prop = prop }  // dumb mistake here
}
that line with apply is not doing anything, it was a typo but easily missed