Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-85367

Remove traverse_F calls in type checker if the argument is not an array

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • QE 2024-01-22, QE 2024-02-05
    • 35

      When we have an expression

      traverseF(s9, lambda(l101.0) { ((move(l101.0) <= s13) ?: false) }, false)
      

      where the s9 argument is typed as not being an array value, the code is equivalent to directly invoke the lambda, so we can remove it from the code

            Assignee:
            alberto.massari@mongodb.com Alberto Massari
            Reporter:
            alberto.massari@mongodb.com Alberto Massari
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: