@doop
class C {
static S = new C();
@doop
get something() {
return field<number, this>();
}
}
The doop decorator runs after the static field S is initialised. So S refers to an instance of the class created before decoration has happened, and is therefore effectively "corrupted".
static member, type of enclosing class, e.g.
The doop decorator runs after the static field S is initialised. So S refers to an instance of the class created before decoration has happened, and is therefore effectively "corrupted".