It seems like compile randomly fails on IntelliJ l...
# announcements
g
It seems like compile randomly fails on IntelliJ latest build with Kotlin 1.3.7 and latest kotlin plugin when using inner classes like so:
Copy code
open class A(){
  var b: B ?= null
  inner class B(){
    var t = 1
  }
}

class AA(): A() {}

// using from different class
...
AA().apply {
  b = B().apply{ // this causes random compile errors after changes unless we change it to explicit "b = this.B().apply ..."
    t = 2
  }
}
...
I'm gonna guess it will prolly never get fixed due to how trivial it is ¯\_(ツ)_/¯ Note: "randomly" literally means randomly where after compile error of "Unresolved reference", you just have to delete /target and build again