<p>Am 26.02.2016 20:31 schrieb "silvioprog" <<a href="mailto:silvioprog@gmail.com">silvioprog@gmail.com</a>>:<br>
><br>
> Hello,<br>
><br>
> Consider the following code:<br>
><br>
> === code ===<br>
><br>
> program project1;<br>
><br>
> {$mode objfpc}{$H+}<br>
> //{$codepage utf8}<br>
><br>
> uses Classes;<br>
><br>
> type<br>
> TFoo = class helper for TStream<br>
> public<br>
> procedure Bar;<br>
> end;<br>
><br>
> procedure TFoo.Bar;<br>
> begin<br>
> end;<br>
><br>
> var<br>
> s: string = '';<br>
> m: TStream;<br>
> begin<br>
> m := TMemoryStream.Create;<br>
> try<br>
> m.Bar;<br>
> finally<br>
> m.Free;<br>
> end;<br>
> end.<br>
><br>
> === /code ===<br>
><br>
> It compiles fine, but when you uncomment the line "//{$codepage utf8}", it raises:<br>
><br>
> 'Error: identifier idents no member "Bar"'<br>
><br>
> If you confirm it as bug I can open a issue on bugtracker.</p>
<p>That definitely shouldn't be the case. Please report.</p>
<p>Regards,<br>
Sven</p>