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

Auto-complete for out of definitions method create strange signature

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • Qt Creator 4.10.0
    • C/C++/Obj-C++ Support
    • None
    • All

    Description

      Hi,

       

      Imagine that your have a header and cpp file with method:

       

      void setDownloadedPartialByCatalogId(int64_t catalogId, bool downloaded)

       

       

      But you changed the header file to:

      void setDownloadedPartialByCatalogIdAndListId(int64_t catalogId, int64_t listId, bool downloaded)

       

      Now you need change cpp file because it definition is wrong:

       

      And i put my cursor on end of method "setDownloadedPartialByCatalogId" and before "(" and press CONTROL + SPACE to auto-generate new signature and it generate strange method with syntax error:

       

       

       

      void MyProductDataService::setDownloadedPartialByCatalogIdAndListId(int64_t catalogId, int64_t listId, bool downloaded)bool downloaded) 
      

       

      Thanks.

       

      Attachments

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

        Activity

          People

            kosjar Nikolai Kosjar
            prchakal Paulo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes