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

[Reg 9.0 -> 10.0] "Refactor" tool sometimes refuses to rename overloaded functions

    XMLWordPrintable

Details

    Description

      The recording above tries to do 4x renaming operations.

      1. Renamed the 1st instance of MyClass::overloadedFunction() -> MyClass::overloadedFunction2() (OK)
      2. Renamed the 2nd instance of MyClass::overloadedFunction() -> MyClass::overloadedFunction2() (OK)
      3. Renamed the 1st instance of MyClass::overloadedFunction2() -> MyClass::overloadedFunction() (OK)
      4. Renamed the 2nd instance of MyClass::overloadedFunction2() -> MyClass::overloadedFunction() (ERROR)
      Error -32001: invalid name: conflict with the symbol in XYZ
      

       

      Notes

      This error does not always occur. Sometimes, I'm able to successfully perform all 4 rename operations. Other times, Step #2 already produces the error.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            skoh-qt Sze Howe Koh
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes