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

Enhance interchangeable CGFloat/Double to allow interchange between optional

    XMLWordPrintable

    Details

      Description

      Currently passing `Double?` to parameter of `CGFloat?` do not work. Please add enhancement to allow such. Additionally, allow multiple level of optionality. Basically allow this:

      Double?* <-> CGFloat?* (zero or more level of optionality)

      See: https://forums.swift.org/t/why-double-can-pass-to-cgfloat-but-double-cannot/52217/5

        Attachments

          Activity

            People

            Assignee:
            ldhough Lannie Hough
            Reporter:
            young Matthew Young
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated: