Uploaded image for project: 'Railo'
  1. Railo
  2. RAILO-3060

Error performing unary operation directly on return value

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.2.0.008
    • Fix Version/s: 4.3.0.000, 4.2.0.009
    • Labels:
      None
    • Environment:

      Windows Server 2008, Tomcat 7, Railo

      Description

      Error Type: template : 0
      Error Messages: you cannot use a unary operator with a function railo.transformer.bytecode.expression.var.UDF

      error.cfm

      test = createObject("component","test");
      test.getValues().value1++;

      Test.cfc

      component {
      variables.value1 = 1;
      variables.value2 = 1;
      variables.value3 = 1;
      variables.value4 = 1;

      function getValues()

      { return variables; }

      }

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                micstriit Michael Offner
                Reporter:
                dazzle1979 Bas van der Graaf
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: