Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-20167

min and max in script evaluation do not work correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 4.6.1
    • Qt Creator 4.6.0
    • All Other Issues
    • None
    • b8eea8f9f8922f883ad9e5a54c6d35183138ccc1

    Description

      Blog post suggests that everything under Math are exposed through global object. However, parameters after second seem to be ignored. For example, this gives result of 2:

      = max(1,2,3)
      

      But if used through Math.max does work correctly:

      = Math.max(1,2,3)
      

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-20167
        # Subject Branch Project Status CR V

        Activity

          People

            con Eike Ziller
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes