Re: [fpc-devel] ifthen bugs (maybe)

2016-02-04 Thread Jonas Maebe
On 04/02/16 05:22, Martin wrote: //writeln(b in ifthen( true , [1,2] , [3.4])); // internal error Maybe that's not related to the fact that you use ifthen, but because you have [3.4] instead of [3,4]? Jonas ___ fpc-devel maillist -

Re: [fpc-devel] ifthen bugs (maybe)

2016-02-03 Thread Sven Barth
Am 04.02.2016 05:46 schrieb "Martin" : > > just found some issues > > Neither syntax works in constant evaluation. > Not sure if they should, so asking here (the 2nd syntax is operator like, so kind of expected it would) > > both cause an internal error trying to take the address

[fpc-devel] ifthen bugs (maybe)

2016-02-03 Thread Martin
just found some issues Neither syntax works in constant evaluation. Not sure if they should, so asking here (the 2nd syntax is operator like, so kind of expected it would) both cause an internal error trying to take the address of the returned candidate. Then again this might not be a valid