Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-132345

[Reg 6.5 -> 6.8] qmlcachegen miscompiles number coercions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.8, 6.9.0 Beta2
    • 6.8.1
    • QML: Compiler
    • None
    • 38d65db7a (dev), 70d9a5cbc (dev), 18f9246d2 (6.9), c1231e683 (6.9), daab23884 (dev), 54fb581ab (6.9), a95b0bdea (6.8), ef7da0ea3 (6.8), 43af5924b (6.8), 1e570d022 (dev), 8e11092d2 (6.9), b79f02f05 (6.8)

    Description

      Consider the example from QTBUG-132329. Now add a Q_PROPERTY(qlonglong l ...) to Foo. Then add the following function to the QML:

             var a = 56;
              foo.takeInt(a);
              foo.l = a;
      

      The "l" property will have the value 140325171494968 rather than 56.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              ulherman Ulf Hermann
              ulherman Ulf Hermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: