Fatal: Compilation aborted, for second compilation with generic class
Original Reporter info from Mantis: hnb
-
Reporter name: Maciej Izak
Original Reporter info from Mantis: hnb
- Reporter name: Maciej Izak
Description:
How to generate error check out "Steps To Reproduce"
---program---
program r22;
{$MODE DELPHI}
uses r22u01;
var
// 1. Compile project (press F9).
// 2. Change Int8 to Int16 or any other type in X declaration
// 3. press F9 - Fatal: Compilation aborted!!!
X: TB<Int8>;
begin
end.
---unit r22u01.pas---
unit r22u01;
{$mode delphi}
interface
type
TA = class(TObject);
TB<T> = class
public
function Foo: r22u01.TA; virtual; abstract;
end;
implementation
end.
Steps to reproduce:
- Compile project (press F9).
- Change Int8 to Int16 or any other type in X declaration (r22.lpr)
- press F9 - Fatal: Compilation aborted!!!
Mantis conversion info:
- Mantis ID: 25620
- Build: 26466
- Version: 2.7.1