Class variable declaration of nested generic classes type
Original Reporter info from Mantis: daniel_sap
-
Reporter name: Daniel Sapoundjiev
Original Reporter info from Mantis: daniel_sap
- Reporter name: Daniel Sapoundjiev
Description:
Compilation error - Fatal: Syntax error, "," expected but "<" found
when compiling the following code
unit Unit2;
{$mode delphiunicode}
interface
uses
Classes, SysUtils;
type
TFirstClass<T> = class
end;
TSecondClass<T> = class
end;
TTestClass = class
public
testVar: TFirstClass<TSecondClass<TObject>>;
end;
implementation
end.
Steps to reproduce:
Compile the code
Mantis conversion info:
- Mantis ID: 35934
- Version: 3.0.4