Uploaded image for project: 'Swift'
  1. Swift
  2. SR-2483

caret new line String "\r\n" crashes in String.components

    XMLWordPrintable

    Details

      Description

      The following line produces core dump on Linux:
      let _ = "\r\n".components(separatedBy: CharacterSet.whitespacesAndNewlines)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pushkar Pushkar Kulkarni
              Reporter:
              vadim Vadim Eisenberg
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: