[fpc-devel] XML node dump feature
    Ben Grasset 
    operator97 at gmail.com
       
    Wed Jun 26 04:27:20 CEST 2019
    
    
  
On Tue, Jun 25, 2019 at 12:28 AM Marģers . via fpc-devel <
fpc-devel at lists.freepascal.org> wrote:
> Sorry to say but, this should not work even with
> *pure* function.  Typed constants are not truly
> constants.
>
It's no different at all from doing something like this, which does work,
specifically because the compiler is (currently) able to evaluate it at
compile time:
const I: LongInt = 2 * 2;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190625/4dfe500c/attachment.html>
    
    
More information about the fpc-devel
mailing list