Oh whoops. My mistake.
On Tue 19/06/18 06:18 , Sven Barth via
fpc-devel fpc-devel@lists.freepascal.org
sent:
> Am 19.06.2018 um 02:47 schrieb J. Gareth
Moreton:
> Technically it's a regression because it
worked fine before and it
> breaks now. However, I do agree... how
should a string liter
Am 19.06.2018 um 02:47 schrieb J. Gareth Moreton:
Technically it's a regression because it worked fine before and it
breaks now. However, I do agree... how should a string literal be
interpreted? Technically either a WideString or UnicodeString is
correct, so the compiler cannot decide between
Technically it's a regression because it worked fine before and it breaks
now. However, I do agree... how should a string literal be interpreted?
Technically either a WideString or UnicodeString is correct, so the
compiler cannot decide between them or even know what the best fit is.
Gareth
O
On Mon, Jun 18, 2018 at 5:01 PM, Florian Klämpfl wrote:
> Am 18.06.2018 um 22:00 schrieb David Jenkins:
>>
>> This is something that has just recently stopped working for us(with
>> update
>> to current trunk). We previously were using trunk rev 36812 with no
>> problems.
>
>
> Please submit a bu
Done. Mantis 33875.
On 6/18/18 3:01 PM, Florian Klämpfl wrote:
Am 18.06.2018 um 22:00 schrieb David Jenkins:
This is something that has just recently stopped working for us(with
update
to current trunk). We previously were using trunk rev 36812 with no
problems.
Please submit a bug report
Am 18.06.2018 um 22:00 schrieb David Jenkins:
This is something that has just recently stopped working for us(with update
to current trunk). We previously were using trunk rev 36812 with no
problems.
Please submit a bug report to mantis.
___
fpc-deve
This is something that has just recently stopped working for us(with update
to current trunk). We previously were using trunk rev 36812 with no
problems.
Placing a second call
foo('a')
calls the expected WideChar version.
David
On 6/18/18 1:11 PM, Marcos Douglas B. Santos wrote:
On Mon, J
On Mon, Jun 18, 2018 at 3:04 PM, David Jenkins
wrote:
> The following code:
>
>
> {$MODE DELPHI}
>
> program CharOverload;
>
> uses
> SysUtils;
>
> procedure Foo(const aArg: UnicodeString); overload;
> begin
> WriteLn('WideString: ', aArg);
> end;
>
> procedure Foo(c: WideChar); overload;
> be
The following code:
{$MODE DELPHI}
program CharOverload;
uses
SysUtils;
procedure Foo(const aArg: UnicodeString); overload;
begin
WriteLn('WideString: ', aArg);
end;
procedure Foo(c: WideChar); overload;
begin
WriteLn('Char: ', c);
end;
begin
Foo('abc');
end.
Fails with current tr