Jonas Maebe wrote:
Yes, but it still contains several known bugs such as cryptic error messages, context sensitivity (if procedure Foo is declared in units A and B, and the unit declaring the generic which calls Foo uses A while a unit declaring a specialisation uses B, then the specialisation will call B.Foo instead of A.Foo), and a number of tests do not yet work.

FYI: added the context sensitivity test to svn (example how you could get "bitten"):

http://www.freepascal.org/cgi-bin/viewcvs.cgi/trunk/tests/test/tgeneric14.pp?view=markup
http://www.freepascal.org/cgi-bin/viewcvs.cgi/trunk/tests/test/ugeneric14.pp?view=markup

The test should print "Foo", but does not.

Micha
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to