for qualified this , is there a way to condense th...
# getting-started
s
for qualified this , is there a way to condense this into 1 line without reassignment? it seems if i do not, it won't let me drill into the reference. I would have expected to perhaps do
dependsOn(this@registerBase.validation)
or perhaps
(this@registerBase).validation
Copy code
val registerBaseRef = this@registerBase
                dependsOn(registerBaseRef.validation)
a
using
this@registerBase.validation
should work, but IntelliJ doesn’t offer auto-complete for some reason
s
yep! you're right, intellij was confused and made me confused 🙂
👍 1