Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-1311

if (!A) { } does not compile

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.8.0.GA
    • 7.7.0.GA
    • BRE
    • None
    • Documentation (Ref Guide, User Guide, etc.)
    • CR1
    • -
    • Workaround Exists
    • Hide

      re-write the rule from

      if (!A) {
      f1()
      } else {
      f2()
      }

      to

      if (A) {
      f2()
      } else {
      f1()
      }

      Show
      re-write the rule from if (!A) { f1() } else { f2() } to if (A) { f2() } else { f1() }
    • Hide

      run attached reproduced (provided by M Weiler)

      Show
      run attached reproduced (provided by M Weiler)
    • 2020 Week 22-24 (from May 25)

      A rule of the form

      if (!A) {
      f1()
      } else {
      f2()
      }

      does not compile whereas a rule of the form

      if (A) {
      f2()
      } else {
      f1()
      }

      does

              lmolteni@redhat.com Luca Molteni
              rhn-support-sappleton Shaun Appleton
              Daniel Rosa Daniel Rosa
              Daniel Rosa Daniel Rosa
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: