LINQ3: Add factory method AstExpression.Multiply to support $multiply flattening

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 2.14.0
    • Affects Version/s: None
    • Component/s: LINQ3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Use:

      AstExpression.Multiply(args...) 

      instead of:

      new AstNaryExpression(AstNaryOperator.Multiply, args...) 

      to support $multiply flattening.

      Note that this requires changing $multiplyl from a binary operator to an nary operator.

      I don't think constant folding is needed here but it can always be added later if we end up needing it after all.

            Assignee:
            Robert Stam (Inactive)
            Reporter:
            Robert Stam (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: