Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1735

Dates can not be used as properties after js engine switch

    XMLWordPrintable

Details

    • ad0825d42 (master)

    Description

      Scenario

      • get "Date" js object via the Probe;
      • save it as a project/product/module property var;
      • use it as a "Date" js object in Rule or somewhere else (e.g. calling "getFullYear()");

      Expected behavior (prior to qbs 2.0)
      Everything works, property can be used as [object Date]

      Actual behavior (qbs 2.0)
      Property has type [object Object], "not a function" error

      Attachments

        1. build-qbs-1-22-1.log
          0.3 kB
        2. build-qbs-2-0-0.log
          0.3 kB
        3. main.cpp
          0.1 kB
        4. test.qbs
          0.9 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            undefbehavior Dmitrii Meshkov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes