Uploaded image for project: 'CloverDX'
  1. CloverDX
  2. CLO-18505 Basic container functions for variant
  3. CLO-18700

append function - type check not working with list variables

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: rel-5-6-0
    • Component/s: None
    • Security Level: Users (General product issues)
    • Labels:
      None

      Description

      After extending append functionality to work with variant (CLO-18505), the type checking is not working with list variables. So you can both write and execute this code without getting error:

      list[integer] myList = [1];
      append(myList, "a"); // append(list[E], E) does not apply, so append(variant, variant) is called instead
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              krivanekm Milan Krivanek
              Reporter:
              prednym Martin Predny (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day
                  1d