On 03/06/2016 02:17 PM, Mazola Winstrol wrote:
Hello,
Lazarus version: 1.6 using the lazarus provided fpc compiler (3.0).
Please confirm if it is a bug:
If i define a generic record, when i press Ctrl+Shift+C to
automatically define the implementation, the code generated ignores
the type parameter.
=== CODE ===
unit Test;
interface
type
TMyRecord<T> = record
procedure TestIfCompiles;
end;
implementation
// CODE GENERATED WITH Ctrl+Shift+C
procedure TMyRecord.TestIfCompiles;
// Should be TMyRecord<T>.TestIfCompiles;
begin
end;
end,
==== END ====
Best reagds
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Hi Mazola,
It happens to me, as well. I posted a bug report on it a while back,
but haven't seen any response to it yet.
Don
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus