Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-4644

Array modification functions should require two arguments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.14.0, 5.0.0
    • None
    • None

    Description

      ARRAY_APPEND, ARRAY_PREPEND, and ARRAY_CAT should require two arguments. Also, if the second argument is null, we need to make sure not to have the entire expression return null (but instead it should return the first argument). To accomplish this, we need to have a ParseNode that overrides the method controlling this and ensure it's used for these functions.

      Attachments

        1. PHOENIX-4644_v1.patch
          13 kB
          James R. Taylor
        2. PHOENIX-4644_v2.patch
          22 kB
          James R. Taylor

        Issue Links

          Activity

            People

              jamestaylor James R. Taylor
              jamestaylor James R. Taylor
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: