Closed GoogleCodeExporter closed 8 years ago
Workaround: T(TObject(NIL))
Original comment by kazantse...@mail.ru
on 30 Jun 2012 at 2:46
This issue was closed by revision r1535.
Original comment by zar...@gmail.com
on 2 Jul 2012 at 6:14
also other lines require workaroud:
[DCC Error] dwsUtils.pas(2075): E2010 Incompatible types: 'T' and 'Pointer'
[DCC Error] dwsUtils.pas(2271): E2010 Incompatible types: 'TValue' and 'Pointer'
Original comment by kazantse...@mail.ru
on 2 Jul 2012 at 6:38
Does introducing a constant like
const cNil = T(TObject(NIL));
at the class level and reusing it work in D2010?
Original comment by zar...@gmail.com
on 2 Jul 2012 at 7:11
Original comment by zar...@gmail.com
on 2 Jul 2012 at 7:11
No, it lead to internal error:
[DCC Fatal Error] dwsUtils.pas(476): F2084 Internal Error:
AV21F6D02B-R00000000-0
Original comment by kazantse...@mail.ru
on 2 Jul 2012 at 7:59
Committed further workarounds, all okay now?
Original comment by zar...@gmail.com
on 2 Jul 2012 at 8:32
Yes. All okay.
Original comment by kazantse...@mail.ru
on 2 Jul 2012 at 8:37
Original issue reported on code.google.com by
kazantse...@mail.ru
on 29 Jun 2012 at 8:23