<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2013/10/30 Sven Barth <span dir="ltr"><<a href="mailto:pascaldragon@googlemail.com" target="_blank">pascaldragon@googlemail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think it is an error. You declare something as private, and then you use it in a public function ? If that is not a visibility clash, I don't know what is :)<br>
</blockquote></div>
I agree, but the question is should we declare this as a bug in the language and thus fix it which might lead to adjustments of legacy (2.6.x) code or use a warning. I personally would do the former (and better sooner than later). We need to keep the current behavior in mode Delphi however... (Note: Delphi additionally allows to access protected types from external units; could be related to the point that helper types allow access to protected types and fields as well...)<br>
</blockquote></div><br><div class="gmail_default" style="font-family:courier new,monospace">I also agree that it is a bug. That's why I am confused.</div><br></div></div>