supports() and as work on interfaces without IID
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
The supports() method and the "as" operator work with interfaces without an IID.
Delphi gives a compile time error in both cases.
Additionally, FPC "x.pas(18,6) Error: Can't determine which overloaded function to call" while Delphi compiles the example code fine if an IID is present (uncomment the comment).
Additional information:
Reporter: Thomas Schatzl
EMail:
Mantis conversion info:
- Mantis ID: 5794
- OS: Win32
- Version: 1.9.8
- Fixed in version: 2.0.2