<div dir="ltr"><div dir="ltr">On Tue, Jun 25, 2019 at 12:28 AM Marģers . via fpc-devel <<a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Sorry to say but, this should not work even with<br>
*pure* function. Typed constants are not truly<br>
constants.<br></blockquote><div><br></div><div>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:</div><div><br></div><div>const I: LongInt = 2 * 2; </div></div></div>