Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-88

Support generics in declared types' fields

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • 5.5.1.Final, 6.1.0.CR1
    • 5.5.0.Final
    • None
    • None

      It should be possible to write:

      declare Foo
      list : List<String>
      end

      While not supported in rules using the mvel dialect, it makes declared types much more readable, and adds some type-safety to java rules.
      Notice that this ticket is NOT related to the possibility of declaring generic classes, such as Foo<T>.

              dsotty Davide Sottara (Inactive)
              dsotty Davide Sottara (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: