Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1325

Wrong code generated for default args initialized with {}

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: dev
    • Fix Version/s: 5.15.1
    • Component/s: Shiboken
    • Labels:
      None
    • Platform/s:
      All
    • Commits:
      f2e63d3588c8422d84d9ff5480427a83d68083bb (pyside/pyside-setup/5.14)

      Description

      The wrapper code generated for a class with an arg that has a default expression with {}  does not compile.

       ::ModernCpp::IntValues cppArg0 = ModernCpp::IntValues::{};
      

       

      A unit test is attached.

        Attachments

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

          Activity

            People

            Assignee:
            kleint Friedemann Kleint
            Reporter:
            renatofilho renato araujo oliveira filho
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes