Talk:Generics proposals
From Free Pascal wiki
Jump to navigationJump to searchI wouldn't allow this:
var intlist: GList<Integer>; begin intlist := GList<Integer>.Create; end;
only
type tintlist: GList<Integer>; var intlist: tintlist; begin intlist := tintlist.Create; end;
This makes parsing easier and is in the spirit of pascal.
--FPK 09:52, 3 Mar 2005 (CET)