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

Wrong code generated for default args initialized with {}

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.15.1
    • None
    • Shiboken
    • None
    • All
    • 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

        For Gerrit Dashboard: PYSIDE-1325
        # Subject Branch Project Status CR V

        Activity

          People

            kleint Friedemann Kleint
            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