<@U4L9S0L0J> You cannot write 100% same code in ko...
# announcements
s
@beholder You cannot write 100% same code in kotlin. I recommend you write it like this:
class Node<T : Node<T>> {}
. This error was created before kotlin 1.0 and, if there is no errors like this, then we can guaranty that kotlin type system is finite proof i.e. for any two types we can check that one type is subtype or not subtype of another via finite number of steps. More details you can read here: https://github.com/JetBrains/kotlin-spec/blob/master/kotlin-spec.asc#finite-bound-restriction