Re: [swift-corelibs-dev] Fatal error Foundation/NSCalendar.swift, Ubuntu 16.04, Swift 3.0.1

2016-12-04 Thread Malcolm Barclay via swift-corelibs-dev
Hi Will,

Fair enough, I know very little about the inner workings of the Foundation 
libraries ¯\_(ツ)_/¯ Hoping someone can raise a sensible PR that fixes the issue.

Best regards,
Malcolm

> On 2 Dec 2016, at 19:58, Will Stanton  wrote:
> 
> Hello Malcolm,
> 
> It looks like cutting line 606 of NSCalendar.swift and pasting it over 
> `false` on line 607 fixes the issue.
> 
>  1> import Foundation 
>  2. let fromDate = Date() 
>  3. let toDate = Date(timeIntervalSinceNow: 20) 
>  4. let components = Calendar.current.dateComponents([.second], from: 
> fromDate, to: toDate)
> // ...
>[6] = 20
> // ...
> 
> Regards,
> Will Stanton
> 
>> On Nov 30, 2016, at 9:22 AM, Malcolm Barclay via swift-corelibs-dev 
>>  wrote:
>> 
>> Hi,
>> 
>> Is this a bug in the NSCalendar.swift? On Ubuntu 16.04 with Swift 3.0.1 
>> installed this crashes.
> 

___
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev


[swift-corelibs-dev] Interested in contributing to the foundation library, but needed some some pointers to start

2016-12-04 Thread Jacky Wu via swift-corelibs-dev
Greetings Swift community members!

I am interested in contributing to the foundation open source library. I
have cloned the repo and was able to build the lib successfully. I have
also read the status.mb doc and joined the jira ticket tracker. While the
status doc provides some ideas about what still need to be worked on, I
found it a little bit vague on the specific tasks that need to be done. I
was wondering if it's possible that anyone could discuss with me and
perhaps assign me a relatively simple task to help me to get familiarize
about the project? Any help is greatly appreciated!

Thank you,
Jacky
___
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev