In Delphi mode, IE 2011042701 triggered by special cases of inline specialization
Original Reporter info from Mantis: jcchu
-
Reporter name: JC Chu
Original Reporter info from Mantis: jcchu
- Reporter name: JC Chu
Description:
Delphi allows generic types to coexist with their non-parameterized counterpart. This includes the case where a type T is defined as a specialization of some generic T<,...,>, as the following program demonstrates.
{$MODE DELPHI}
type
TWrapper<T> = record end;
TWrapper = TWrapper<Byte>;
begin
end.
Curretly, however, the specialization expression is deemed invalid and Internal error 2011042701 will be triggered.
Mantis conversion info:
- Mantis ID: 22192
- OS: Windows NT
- OS Build: 6.1.7601
- Platform: x86_64
- Version: 2.7.1
- Fixed in version: 3.1.1
- Fixed in revision: 34530 (#50f2aab0)