C = Class()
C::
    X = Self
C.
    method self =
        _ = self
        x = C::__new__()
        y: C::X = Self::__new__()
        log x, y

.C2 = Class { .x = Int }
.C2.
    method self =
        _ = self
        x = .C2::__new__ { .x = 1 }
        y = Self::__new__ { .x = 1 }
        log x, y

x = C.new()
x.method()

y = .C2.new { .x = 1 }
y.method()
