Recent

Author Topic: FPC Explicit and Implicit conversion of Custom Variants to simple types fails  (Read 367 times)

Jurassic Pork

  • Hero Member
  • *****
  • Posts: 1266
Hello,
the ticket #39815 is always opened.
What are the news about this ticket.
In attachment, project to test this issue.
VarPyth unit  of Python4Lazarus package use custom variants.
Friendly, J.P
« Last Edit: April 13, 2025, 11:54:57 am by Jurassic Pork »
Jurassic computer : Sinclair ZX81 - Zilog Z80A à 3,25 MHz - RAM 1 Ko - ROM 8 Ko

beria2

  • New Member
  • *
  • Posts: 16
Hello,
the ticket #39815 is always opened.
What are the news about this ticket.
In attachment, project to test this issue.
VarPyth unit  of Python4Lazarus package use custom variants.
Friendly, J.P

But there are no errors.
 Time:00.000 N:9 E:0 F:0 I:0
  TTestCustomVariants Time:00.000 N:9 E:0 F:0 I:0
    00.000  TestCreate
    00.000  TestCast
    00.000  TestCastTo
    00.000  TestCopy
    00.000  TestVarAsType
    00.000  TestExplicitConversion
    00.000  TestImplicitConversion
    00.000  TestDoubleConversion
    00.000  TestIntegerConversion

Number of run tests: 9
Number of errors:    0
Number of failures:  0

 

TinyPortal © 2005-2018