stanislav.erokhin
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