https://bugs.kde.org/show_bug.cgi?id=468605

            Bug ID: 468605
           Summary: auto-correction incorrectly changes dot to arrow in
                    floating-point literals when using uniform
                    initialization
    Classification: Applications
           Product: kdevelop
           Version: 5.10.221203
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Code completion
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: carinell.ialessandr...@gmail.com
  Target Milestone: ---

When using uniform initialization (C++ 11 style) of an object (struct or
class), auto-correction changes dot to arrow ("." to "->") when trying to type
floating-point literal.

Code:
struct Test {
    int a;
    float b;
};

int main(int argc, char **argv) {
    Test foo{1, 2};
    return 0;
}

If I try to type a dot after the 2 as to assign a floating-point value to
member b, such dot gets replaced by an arrow.

SOFTWARE/OS VERSIONS
OS: Arch Linux, kernel: 6.2.11-zen1-1-zen (64 bit)
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to