View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0021539 | FPC | Compiler | public | 2012-03-23 15:45 | 2019-07-18 21:26 |
Reporter | JC Chu | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | always |
Status | confirmed | Resolution | open | ||
Platform | x86_64 | OS | Windows NT | OS Version | 6.1.7601 |
Product Version | 2.7.1 | Product Build | |||
Target Version | Fixed in Version | ||||
Summary | 0021539: In Delphi mode, nested inline generic type specialization is not supported | ||||
Description | Same as summary; see attached file for a demo. | ||||
Tags | generics | ||||
Fixed in Revision | |||||
FPCOldBugId | |||||
FPCTarget | |||||
Attached Files |
|
has duplicate | 0022755 | resolved | Sven Barth | Compiler doesn't support generic of generic |
2012-03-23 15:45
|
NestedInlineSpecialization.pas (127 bytes)
{$IFDEF FPC} {$MODE DELPHI} {$ENDIF} type TWrapper<T> = record end; var Z: TWrapper<TWrapper<Byte>>; begin end. |
|
Yes, nested specializations are currently not supported, but they are definitely on my near-term ToDo list. Regards, Sven |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-03-23 15:45 | JC Chu | New Issue | |
2012-03-23 15:45 | JC Chu | File Added: NestedInlineSpecialization.pas | |
2012-03-23 15:45 | JC Chu | Tag Attached: generics | |
2012-09-01 13:51 | Sven Barth | Relationship added | has duplicate 0022755 |
2012-09-01 13:52 | Sven Barth | Note Added: 0062020 | |
2012-09-01 13:52 | Sven Barth | Status | new => confirmed |