Can't Build it under D2010 (with Update5)

Issue #51 new
Former user created an issue

Dear Stefan,

Unfortunately my D2010 fails to build DSharp with the following error message: "[DCC Fatal Error] F2084 Internal Error: L1737"

I've tried to find what brings it down, and I found it to be the following line: class constructor TRttiPropertyExtension.Create; begin FRegister := TObjectDictionary<TPair<PTypeInfo, string>, TRttiPropertyExtension>.Create([doOwnsValues]); ... end;

Unfortunately I have no idea how to fix this, maybe you guys can suggest something. Thank you very much for your help!

Best regards, Gergely Krasznai

Comments (1)

  1. Former user Account Deleted

    For those who happen to experience this problem, here is the solution:

    The FRegister class variable in the definition of TRttiPropertyExtension is declared to be

    TDictionary<TPair<PTypeInfo, string>, TRttiPropertyExtension>

    while correctly it should be
    TObjectDictionary<TPair<PTypeInfo, string>, TRttiPropertyExtension>

    That solves the issue.

  2. Log in to comment