<p>Am 26.05.2016 21:38 schrieb "Maciej Izak" <<a href="mailto:hnb.code@gmail.com">hnb.code@gmail.com</a>>:<br>
><br>
> 2016-05-26 21:06 GMT+02:00 Sven Barth <<a href="mailto:pascaldragon@googlemail.com">pascaldragon@googlemail.com</a>>:<br>
>><br>
>> ... as long as the body of the generic routine is already available (basically the same rules as for inlining normal routines) (see tests/test/ugeneric102.pp for an example)<br>
><br>
><br>
> Nice one Sven! :) Is there some warning when method is not inlined in the case of lacking body? </p>
<p>No, there is not, cause that's basically the same for normal routines (where you don't get a warning either).<br>
Though there might be a debug message, that gets printed if a routine can't be inlined... (with the correct verbosity setting)<br>
Also keep in mind that "inline" is merely a hint for the compiler. So not inlining a routine for whatever the reason is completely in the compiler's power to do.</p>
<p>Regards,<br>
Sven</p>