On Mon, 16 Nov 2015 08:16:18 -0300 Leonardo M. Ramé <[email protected]> wrote:
> Hi, I'm trying to implement a method of an specialized class, but when I > type ctrl+space the IDE shows "Error: Identifier not found: specialize". > But I can compile this project without problems. > > The definition of my class is this: > > TActListStudies = class(specialize TBaseGAction<TDummy>) > public > procedure Post; override; > end; Codetools do not yet support anonymous specialization. See bug report: http://bugs.freepascal.org/view.php?id=27895 Can you use below instead? TBaseGActionDummy = specialize TBaseGAction<TDummy>; TActListStudies = class(TBaseGActionDummy) public procedure Post; override; end; Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
