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

2016-12-02 Thread Will Stanton via swift-corelibs-dev
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:

Re: [swift-corelibs-dev] SwiftXCTest proposals to make it more useful as a framework and for other platforms

2016-12-02 Thread Brian Gesiak via swift-corelibs-dev
Hey Ilya, I'm glad you're thinking about how to use corelibs-xctest on mobile devices. I'd like to prepare it for Android as well, and I think there's a lot of overlap here. > This proposal is because Swift has very poor reflection at the moment. So I suggest creating a generator (pre-build scrip

[swift-corelibs-dev] SwiftXCTest proposals to make it more useful as a framework and for other platforms

2016-12-02 Thread Ilya Laryionau via swift-corelibs-dev
Hello Community, I’m working on adding iOS platform support for SwiftXCTest. So I’ve have the following proposals and would like to hear feedback from the community. SwiftXCTest runs the tests in a way `XCTMain([ testCase(TestFoo.allTests) ])`. XCTMain supports only Linux / FreeBSD / macOS. So I