[fpc-pascal] Constants in generics

Florian Klämpfl florian at freepascal.org
Sat Nov 10 13:12:24 CET 2018


Am 09.11.2018 um 05:20 schrieb Ryan Joseph:
> 
> 
>> On Nov 9, 2018, at 4:28 AM, Florian Klämpfl <florian at freepascal.org> wrote:
>>
>> I like the idea of const in generics, but it needs serious cleanup when it's working:
> 
> Question: should other consts besides integers be allowed? I don’t think it makes sense personally to use strings, floats or sets but maybe I’m wrong.

I would allow them for orthogonality reasons.




More information about the fpc-pascal mailing list