[fpc-pascal] Correct way to write generic type aliases

leledumbo leledumbo_cool at yahoo.co.id
Mon Aug 29 05:36:29 CEST 2016


> Type aliases for generics are not supported.

OK, but Delphi seems to support the last 3 variant which creates a generic
subclass of a specialized generic type:
http://stackoverflow.com/questions/10060009/is-it-possible-to-create-a-type-alias-to-a-generic-class-in-delphi
At least, it shouldn't make the compiler raise EAccessViolation, right? ;)




--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Correct-way-to-write-generic-type-aliases-tp5726179p5726181.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list