Re: [fpc-devel] Procedural types returning file types

2020-12-18 Thread Sven Barth via fpc-devel
Blaise--- via fpc-devel schrieb am Fr., 18. Dez. 2020, 10:01: > The patch http://hg.blaise.ru/public/fpc/rev/698389953e49 (attached) > fixes the following: > ---8<--- > // EXPECTED: 'Error: Illegal function result type' > // ACTUAL: gets compiled > type M = function : file; > > begin > en

Re: [fpc-devel] Procedural types returning file types

2020-12-18 Thread Tomas Hajny via fpc-devel
On 2020-12-18 14:06, Sven Barth wrote: Tomas Hajny via fpc-devel schrieb am Fr., 18. Dez. 2020, 11:38: On 2020-12-18 10:01, Blaise--- via fpc-devel wrote: Hello, > The patch http://hg.blaise.ru/public/fpc/rev/698389953e49 (attached) > fixes the following: > ---8<--- > // EXPECTED:

Re: [fpc-devel] Procedural types returning file types

2020-12-18 Thread Sven Barth via fpc-devel
Tomas Hajny via fpc-devel schrieb am Fr., 18. Dez. 2020, 11:38: > On 2020-12-18 10:01, Blaise--- via fpc-devel wrote: > > > Hello, > > > The patch http://hg.blaise.ru/public/fpc/rev/698389953e49 (attached) > > fixes the following: > > ---8<--- > > // EXPECTED: 'Error: Illegal function res

Re: [fpc-devel] Procedural types returning file types

2020-12-18 Thread Tomas Hajny via fpc-devel
On 2020-12-18 10:01, Blaise--- via fpc-devel wrote: Hello, The patch http://hg.blaise.ru/public/fpc/rev/698389953e49 (attached) fixes the following: ---8<--- // EXPECTED: 'Error: Illegal function result type' // ACTUAL: gets compiled type M = function : file; begin end. ---8<-

[fpc-devel] Procedural types returning file types

2020-12-18 Thread Blaise--- via fpc-devel
The patch http://hg.blaise.ru/public/fpc/rev/698389953e49 (attached) fixes the following: ---8<--- // EXPECTED: 'Error: Illegal function result type' // ACTUAL: gets compiled type M = function : file; begin end. ---8<--- -- βþ # HG changeset patch # User Blaise.ru # Date 1608281