Compiler breaks on "Object is TGenericClass" expression
Original Reporter info from Mantis: Ask
-
Reporter name: Alexander S. Klenin
Original Reporter info from Mantis: Ask
- Reporter name: Alexander S. Klenin
Description:
Apparently compiler always assumes that the the right operand
of "is" operator is non-generic class and generates an access to
non-existing VMT for generic classes.
This results in linker error.
Steps to reproduce:
See attached file.
Mantis conversion info:
- Mantis ID: 16065
- Version: 2.4.0
- Fixed in version: 2.6.0
- Fixed in revision: 15157 (#62c630ab)