Re: [swift-users] swift 4.0 "swift-version 4" errors with "type(of:"

2017-05-21 Thread Adrian Zubarev via swift-users
Well, I think it’s a step forward by making type(of:) *like* a stdlib function. Now we need to change .Type and .Protocol syntax to something like Type, AnyType and also fix the way it behaves in a generic context to finally open up Type for custom type names. This should also help removing

Re: [swift-users] passing command line arguments to `swift test`

2017-05-21 Thread Daniel Dunbar via swift-users
To run one test you can use: swift test -s BasicTests.PathTests/testContains See: swift test --help - Daniel > On May 19, 2017, at 4:34 PM, Kelvin Ma via swift-users > wrote: > > i want to be able to run a single test case at a time instead of my whole > test