[fpc-devel] Managed Types, Undefined Bhaviour

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Jun 29 19:47:05 CEST 2018


On Fri, 29 Jun 2018 14:25:19 +0200
Martok <listbox at martoks-place.de> wrote:

> Am 29.06.2018 um 12:43 schrieb Michael Van Canneyt:
> > Out of curiosity, can you give a simple example of such a funny behaviour
> > in such a chaining pattern ?  
> We've had this topic about 2 years ago with regard to automatic file close on
> interface release. Interestingly, something must have changed in the mean time,
> because the trivial testcase is now *different* , which is somewhat the point of
> being weird-undefined ;-)
> 
> Take this example: https://pastebin.com/gsdVXWAi

Thanks for the example.

I tried it with pas2js and found a bug and fixed it.

Mattias



More information about the fpc-devel mailing list