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

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • rel-5-6-0
    • None
    • Security Level: Users (General product issues)
    • 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

              krivanekm Milan Krivanek
              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