Re: [fpc-devel] Implicit function specialization precedence

2021-04-09 Thread Ryan Joseph via fpc-devel
> On Apr 9, 2021, at 4:31 PM, Sven Barth via fpc-devel > wrote: > > You mean what you did for is_array_literal? A pure array constructor can be > found with is_array_constructor, though it might be better to use > is_open_array, cause someone might pass an open array parameter to a generic

Re: [fpc-devel] Implicit function specialization precedence

2021-04-09 Thread Sven Barth via fpc-devel
Am 09.04.2021 um 23:52 schrieb Ryan Joseph via fpc-devel: On Apr 9, 2021, at 3:08 PM, Sven Barth wrote: Possibly, yes... You could provide the various utility functions in a separate patch. Well I'm going to use them for this patch so they would all be batched together. Any idea about the

Re: [fpc-devel] Implicit function specialization precedence

2021-04-09 Thread Ryan Joseph via fpc-devel
> On Apr 9, 2021, at 3:08 PM, Sven Barth wrote: > > Possibly, yes... > > You could provide the various utility functions in a separate patch. Well I'm going to use them for this patch so they would all be batched together. Any idea about the "array of const" issue I raised in the other email

Re: [fpc-devel] Implicit function specialization precedence

2021-04-09 Thread Sven Barth via fpc-devel
Am 09.04.2021 um 18:12 schrieb Ryan Joseph via fpc-devel: On Apr 8, 2021, at 11:37 PM, Sven Barth via fpc-devel wrote: That is because before the introduction of type helpers such functions weren't really needed. Other mechanisms caught such constants, but for both type helpers and these i

[fpc-devel] Hi Michael, have a look of #0038677

2021-04-09 Thread baldzhang via fpc-devel
https://bugs.freepascal.org/view.php?id=38677 a bug that parse PeerName error in fpopenssl I remember you maintenance this. Thanks. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Re: [fpc-devel] Implicit function specialization precedence

2021-04-09 Thread Ryan Joseph via fpc-devel
I just realized one more type introspection related issue. This currently will specialize as DoThis because the array constructor element type is "shortint" as is derived from the first element 1. This of course is not correct so I'd like to reject "array of const constructors" but I don't see

Re: [fpc-devel] Implicit function specialization precedence

2021-04-09 Thread Ryan Joseph via fpc-devel
> On Apr 8, 2021, at 11:37 PM, Sven Barth via fpc-devel > wrote: > > That is because before the introduction of type helpers such functions > weren't really needed. Other mechanisms caught such constants, but for both > type helpers and these implicit specializations it's hard to do it anoth

Re: [fpc-devel] TStreamReader (streamex unit) issue

2021-04-09 Thread Michael Van Canneyt via fpc-devel
Thanks. I've assigned it to myself. Michael. On Fri, 9 Apr 2021, Andrea Mauri via fpc-devel wrote: Submitted as: 0038734 (https://bugs.freepascal.org/view.php?id=38734) On Fri, 9 Apr 2021 at 09:11, Michael Van Canneyt wrote: Hello, Can you please post this in the bugtracker ? So it will

Re: [fpc-devel] TStreamReader (streamex unit) issue

2021-04-09 Thread Andrea Mauri via fpc-devel
Submitted as: 0038734 (https://bugs.freepascal.org/view.php?id=38734) On Fri, 9 Apr 2021 at 09:11, Michael Van Canneyt wrote: > > Hello, > > Can you please post this in the bugtracker ? > So it will not be forgotten. > > Michael. > > On Thu, 8 Apr 2021, Andrea Mauri via fpc-devel wrote: > > > De

Re: [fpc-devel] TStreamReader (streamex unit) issue

2021-04-09 Thread Michael Van Canneyt via fpc-devel
Hello, Can you please post this in the bugtracker ? So it will not be forgotten. Michael. On Thu, 8 Apr 2021, Andrea Mauri via fpc-devel wrote: Dear all, TStreamReader.ReadLine seems to fail under specific circumstances. I created a test to easily reproduce the problem. The test makes use