[fpc-pascal] Codetools generic constants

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Jun 26 06:48:52 CEST 2020

On Fri, 26 Jun 2020 11:36:18 +0700
Ryan Joseph via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:

> I got the Lazarus sources on svn and I'm not sure how to make a diff!
> Here are changes I propose to allow generic constants (I believe this
> is Mattias's code so he'll understand). It's just a few lines in a
> single function. Not sure about the error message but I think this is
> more or less the right idea. Let me know how we can get this
> integrated. Thanks.

The preferred way is:
There is a testsuite components/codetools/runtestscodetools.lpi
Run it. It should run without errors.
Do your changes and add a test.
Run it and fix any bugs.
Create patch:
cd /path/lazarussvn
svn diff > mytopic.patch

Create bug report with the patch.


More information about the fpc-pascal mailing list