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

Description of Date? expression is printed as nil even when non-nil

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Component/s: LLDB for Swift
    • Labels:
      None

      Description

        1> import Foundation
        2> var d: Date?
      d: Date? = nil
        3> d = Date()
        4> d
      $R0: Date? = nil
        5> print(d)
      Optional(2020-02-10 19:24:57 +0000)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              odnairy Roman Gardukevich
              Reporter:
              sharplet Adam Sharp
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated: