Uploaded image for project: 'Mnemonic'
  1. Mnemonic
  2. MNEMONIC-254

Set function goes into loop with cyclic structures

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8.0-incubating
    • 0.8.0-incubating
    • Core
    • None

    Description

      In generated Set functions of durable structures, registerAutoReclaim() and CancelAutoReclaim() functions are called on linked fields. Hence, if it is cyclic structure, it causes infinite loop. Solution is to call registerAutoReclaim only if reclaim was not already set on the linked field and vice versa.

      Attachments

        Issue Links

          Activity

            People

              johnugeorge Johnu George
              johnugeorge Johnu George
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: