[clazy] [Bug 442769] New: qt6-qlatin1stringchar-to-u creates invalid code

Kai Koehne bugzilla_noreply at kde.org
Tue Sep 21 10:32:17 BST 2021


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

            Bug ID: 442769
           Summary: qt6-qlatin1stringchar-to-u creates invalid code
           Product: clazy
           Version: unspecified
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: kai.koehne at qt.io
                CC: smartins at kde.org
  Target Milestone: ---

qt6-qlatin1stringchar-to-u creates code that doesn't compile

STEPS TO REPRODUCE
1. run clazy fix for e.g. QLatin1String("hello world");

OBSERVED RESULT

clazy will fix it to u"hello world", which cannot be assigned to QString


EXPECTED RESULT

clazy should fix it to u"hello world"_qs

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list