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

Piotr Mierzwinski <piotr.mierzwin...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDSINFO                   |REPORTED
         Resolution|WAITINGFORINFO              |---

--- Comment #7 from Piotr Mierzwinski <piotr.mierzwin...@gmail.com> ---
I retested this issue and seems that the problem still persists.
I mean in result I got the same as I described above, so:

        void foo(bool param = false, bool a = {} /* TODO */);

Placed in header file.
Of course I'm aware that default value must be last in declaration, but seems
here KDevelop cannot handle this case correctly and breaks code.

Tested with:
KDevelop version 5.9.221170 (22.11.70)

$ apt show kdevelop
Package: kdevelop
Version: 4:22.08.1+p22.04+tunstable+git20221012.0016-0

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.26.80
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Kernel Version: 5.15.0-53-generic (64-bit)
Graphics Platform: X11
Graphics Processor: Mesa IntelĀ® Xe Graphics

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

Reply via email to