<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi Ekaterina,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 10, 2025 at 8:30 AM Ekaterina Semenova <<a href="mailto:ekaterina.semenova@jetbrains.com" target="_blank">ekaterina.semenova@jetbrains.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div>I would expect though the code to be compilable because in this case i should refer to the containing class private field, not to the superclass field (because it is private thus inaccessible to the subclass), so it should be allowed to reference it in the constructor prologue. </div><div>Could you please take a look?</div></div></div></blockquote><div><br></div><div>Thanks - it looks like the "before supertype constructor has been called" check is flawed and being too aggressive here. I'll take a look.<br></div></div><div class="gmail_quote"><br></div><div class="gmail_quote">-Archie<br></div><div><span class="gmail_signature_prefix"><br></span></div><div><span class="gmail_signature_prefix">-- </span></div><div dir="ltr" class="gmail_signature">Archie L. Cobbs<br></div></div>
</div>
</div>