Imperius
  1. Imperius
  2. IMPERIUS-32

Calling an operation of an anchor class that returns an array cannot be used as argument to operations such as AllInCollection

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Labels:
      None

      Description

      The expression object.getArrayString() is not allowed as argument to Collection operators

      Import Class package.Type:object;
      Strategy Execute_All_Applicable;
      Declaration
      {

      }
      Policy
      {
      Condition

      { AllInCollection("up","EQUAL",object.getArrayString())==true }

      Decision

      { ... }

      }:1;

      String[] getArrayString()
      {
      return new String[]

      {"up","up","up"}

      ;
      }

        Activity

        Erik Bengtson created issue -

          People

          • Assignee:
            Bill Stoddard
            Reporter:
            Erik Bengtson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development