Am 14.03.2021 um 19:10 schrieb Ryan Joseph via fpc-pascal:
This program compiles, but is it a bug? I would think the specialization should fail
because "S" in TArray is not specified.
{$mode objfpc}
type
generic TArray = array of T;
generic procedure DoThis(par
On Sun, 14 Mar 2021, Sven Barth via fpc-pascal wrote:
On Sun, Mar 14, 2021 at 4:15 PM Michael Van Canneyt via fpc-pascal
wrote:
Fixed. Thanks for the patch.
There was a second issue, which is now also fixed.
You set target to fpc 4.0
The simple patch I made can be backported/merged to 3.2
Michael Van Canneyt via fpc-pascal
schrieb am So., 14. März 2021, 18:03:
>
>
> On Sun, 14 Mar 2021, Bart via fpc-pascal wrote:
>
> > On Sun, Mar 14, 2021 at 4:15 PM Michael Van Canneyt via fpc-pascal
> > wrote:
> >
> >> Fixed. Thanks for the patch.
> >> There was a second issue, which is now als
This program compiles, but is it a bug? I would think the specialization should
fail because "S" in TArray is not specified.
{$mode objfpc}
type
generic TArray = array of T;
generic procedure DoThis(param: specialize TArray>);
begin
end;
begin
specialize DoThis(
On Sun, 14 Mar 2021, Bart via fpc-pascal wrote:
On Sun, Mar 14, 2021 at 4:15 PM Michael Van Canneyt via fpc-pascal
wrote:
Fixed. Thanks for the patch.
There was a second issue, which is now also fixed.
You set target to fpc 4.0
The simple patch I made can be backported/merged to 3.2 fixes
On Sun, Mar 14, 2021 at 4:15 PM Michael Van Canneyt via fpc-pascal
wrote:
> Fixed. Thanks for the patch.
> There was a second issue, which is now also fixed.
You set target to fpc 4.0
The simple patch I made can be backported/merged to 3.2 fixes branch?
--
Bart
___
On Sun, 14 Mar 2021, Bart via fpc-pascal wrote:
On Sun, Mar 14, 2021 at 2:55 PM Bart wrote:
I think I have a fix, will report it.
Reported as https://bugs.freepascal.org/view.php?id=38622
Possible patch attached in the bugreport.
Fixed. Thanks for the patch.
There was a second issue, wh
On Sun, 14 Mar 2021, Bart via fpc-pascal wrote:
On Sun, Mar 14, 2021 at 12:43 AM Michael Van Canneyt via fpc-pascal
wrote:
> Do I misunderstand the purpose of this function or is this a bug?
Seems like a bug.
I'll report it then.
Do you know if we have a test suite for this function, so
On Sun, Mar 14, 2021 at 2:55 PM Bart wrote:
> I think I have a fix, will report it.
Reported as https://bugs.freepascal.org/view.php?id=38622
Possible patch attached in the bugreport.
--
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.or
On Sun, Mar 14, 2021 at 1:49 PM Bart wrote:
> Do you know if we have a test suite for this function, so I can test
> if there ar regressions when I try to fix it?
Found it already.
I think I have a fix, will report it.
--
Bart
___
fpc-pascal maillis
On Sun, Mar 14, 2021 at 12:43 AM Michael Van Canneyt via fpc-pascal
wrote:
> > Do I misunderstand the purpose of this function or is this a bug?
>
> Seems like a bug.
I'll report it then.
Do you know if we have a test suite for this function, so I can test
if there ar regressions when I try to f
11 matches
Mail list logo