Variants unit not being auto-imported.
Original Reporter info from Mantis: MarkMLl @MarkMLl
-
Reporter name: Mark Morgan Lloyd
Original Reporter info from Mantis: MarkMLl @MarkMLl
- Reporter name: Mark Morgan Lloyd
Description:
If the only explicit occurrence of the variant type is the result type of a custom function, the Variants unit is not auto-imported. This results in an error 217 when the result is assigned.
Applies to trunk and 2.6.2 (older versions untested).
Steps to reproduce:
Compile and run test program attached.
Mantis conversion info:
- Mantis ID: 24863
- OS: Linux
- Platform: x86
- Version: 2.6.2
- Fixed in version: 3.0.0
- Fixed in revision: 25261 (#c558991d)