Hi,
Is this a bug in the NSCalendar.swift? On Ubuntu 16.04 with Swift 3.0.1
installed this crashes.
import Foundation
let fromDate = Date()
let toDate = Date(timeIntervalSinceNow: 20)
let components = Calendar.current.dateComponents([.second], from: fromDate, to:
toDate)
Result:
fatal error:
Hi Pushkar,
> On Nov 30, 2016, at 6:39 AM, Pushkar N Kulkarni wrote:
>
> Thanks Tony, for the detailed explanation!
>
> I think I need a bit more clarification though :)
>
> >>> Now, nothing in the value type contract says that you cannot have
> >>> computed