Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-15406

Stop folding x = x if x is not pure

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Code Generator
    • Labels:
      None
    • Compatibility:
      Minor

      Description

      If you have an embedded or external function which is not pure - e.g., RANDOM() then an equality of the form

      random() = random() should not be folded to true

      however

      x = random();
      x = x
      probably should.

      Relates to HPCC-2946

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ghalliday Gavin Halliday
                Reporter:
                ghalliday Gavin Halliday
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: