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

Missing comma in argument collection ignore argument instead of compilation error

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Rejected
    • Affects Version/s: 4.1.1.000
    • Fix Version/s: None
    • Labels:
      None
    • Affects:
      Compatibility/Configuration

      Description

      Missing comma between two arguments in function definition do not raise compilation error instead skipping next argument.

      <cfscript>
      function a (numeric a,numeric b,numeric c numeric d,numeric e)

      { writeDump(arguments); }

      a();
      </cfscript>
      This will skip argument 'd' and will have only argument a,b,c and e in collection.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                micstriit Michael Offner
                Reporter:
                thecfguy Pritesh Patel
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: