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

            Bug ID: 493459
           Summary: Swift code is highlighted wrong after a protocol
                    ending in a method declaration
    Classification: Frameworks and Libraries
           Product: frameworks-syntax-highlighting
           Version: 6.6.0
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: syntax
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: h...@nasado.name
                CC: walter.von.entfer...@posteo.net
  Target Milestone: ---

Created attachment 173944
  --> https://bugs.kde.org/attachment.cgi?id=173944&action=edit
Badly highlighted sample code

SUMMARY
Swift code is highlighted wrong after a protocol ending in a method
declaration.

STEPS TO REPRODUCE
1. Open the attached file in Kate or KWrite.

OBSERVED RESULT
The second comment is purple (with white slashes), as is the name of the Fruit
enum.

EXPECTED RESULT
If everything above the "Something tasty" comment is removed, the comment and
Fruit enum look the same.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2

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

Reply via email to