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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • None
    • None
    • Fully Compatible
    • QE 2024-01-22, QE 2024-02-05
    • 35

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: