Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-130665

QString::chopped triggers a fatal assert (it should not)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.7.2
    • None

      Easy to reproduce:

      QString s;
      auto s2 = s.chopped(3); // assert

      But no assert for the following, and this has always been so, and this is good and expected

      QString s;
      s.chop(3); // ok
       

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

            thiago Thiago Macieira
            philippe philippe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes