View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0038087 | Lazarus | IDE | public | 2020-11-16 17:41 | 2020-11-17 14:37 |
Reporter | OkobaPatino | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 2.1 (SVN) | ||||
Summary | 0038087: CodeTools: Code completion can not resolve generic types using const | ||||
Description | When a type like this is declared, CodeTools can not continue to resolve code in any case. generic TTest<T; const S: integer> = array [0..S] of T; | ||||
Tags | generics | ||||
Fixed in Revision | |||||
LazTarget | |||||
Widgetset | |||||
Attached Files |
|
related to | 0038088 | closed | Juha Manninen | JCF fails generic types using const |
|
FPC also fails to compile it, thus Codetools behave as expected. Your generic syntax looks odd. Are you saying that Delphi compiles it? |
|
FPC has this feature in Trunk, and it is working in mode objfpc and Delphi. This feature is not supported in Delphi. https://lists.freepascal.org/pipermail/fpc-devel/2020-April/042708.html |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-11-16 17:41 | OkobaPatino | New Issue | |
2020-11-16 23:26 | Juha Manninen | Note Added: 0126992 | |
2020-11-16 23:26 | Juha Manninen | Relationship added | related to 0038088 |
2020-11-17 06:55 | OkobaPatino | Note Added: 0126993 | |
2020-11-17 07:00 | OkobaPatino | Note Edited: 0126993 | View Revisions |
2020-11-17 14:37 | OkobaPatino | Tag Attached: generics |