On 23/11/2011 18:48, Jesus Reyes wrote:
in the following example The output is:
cls class is TFoo
TObj.create
where I would expect:
cls class is TFoo
TObj.create
TFoo.create
I also hit this problem recently
Found that this is one limitation of fpc. Under newer delphi it's
possible to get the
2011/11/24 Jonas Maebe
> The syntax is now:
>
> type
> generic TGen<_T> = class
>public type
> T_TArray = array of _T;
>private var
> w: T_TArray;
> public
> constructor Create(Value: _T);
> end;
>
> TSpecial = specialize TGen;
>
> I.e., type, var etc are now inside pub
On 23 Nov 2011, at 23:01, Juha Manninen wrote:
> The following does not compile any more with FPC 2.6.0-0.rc1.
> ---
> generic TGen<_T> = class
>type public
> T_TArray = array of _T;
>var private
> w: T_TArray;
>public
> constructor Create(Value: _T);
> end;
>
> TSp
I tested FPC 2.6.0 on Linux and FPC 2.4.4 on Windows but it shouldn't
matter in this case.
Juha
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Regarding this issue:
http://bugs.freepascal.org/bug_view_advanced_page.php?bug_id=20713
The following does not compile any more with FPC 2.6.0-0.rc1.
---
generic TGen<_T> = class
type public
T_TArray = array of _T;
var private
w: T_TArray;
public
constructor Creat
On 23 Nov 2011, at 22:48, Jesus Reyes wrote:
> in the following example The output is:
> cls class is TFoo
> TObj.create
>
> where I would expect:
> cls class is TFoo
> TObj.create
> TFoo.create
>
> ie the TFoo.constructor is not called, is this normal/expected?
Yes. You have to use a virtual
in the following example The output is:
cls class is TFoo
TObj.create
where I would expect:
cls class is TFoo
TObj.create
TFoo.create
ie the TFoo.constructor is not called, is this normal/expected?, The
documentation does clarify the situation:
http://www.freepascal.org/docs-html/ref/refse31.ht
On 19-11-2011 14:21, Reinier Olislagers wrote:
> Hi list,
>
> Please find attached my current version for the Interbase/Firebird
> connection documentation source.
> I have some doubts/questions:
> 1. Do I need to document inherited properties etc or will a documented
> parent unit's help filter