Commit Graph

16 Commits

Author SHA1 Message Date
Maxim Moiseev
332476d340 Match availability of INIntentError and INIntentErrorDomain in a test 2019-02-13 16:41:25 -08:00
Maxim Moiseev
3a7419f51b Fix swiftVersion usage in the test 2019-02-13 16:40:20 -08:00
Ben Cohen
6f91a4e3dd [stdlib] Migrate remaining stdlib tests from Swift 3 (#18740)
* Migrate remaining stdlib tests from Swift 3

* Fix misprunt

* Remove seemingly pointless loops
2018-08-16 08:44:04 -06:00
Mishal Shah
3f1be3bd8c Update swift master to build with Xcode 10 beta 6, macOS 10.14, iOS 12, tvOS 12, and watchOS 5 SDKs 2018-08-15 12:35:40 -07:00
Arnold Schwaighofer
2d8a1dbbfe Codesign test/stdlib 2018-08-10 06:58:40 -07:00
Mishal Shah
13f5118a92 Update master to build with Xcode 10 beta 5, macOS 10.14, iOS 12, tvOS 12, and watchOS 5 SDKs 2018-07-31 13:05:42 -07:00
Mishal Shah
3f8ce7d2f9 Update master to build with Xcode 10 beta 1, OS X 10.14, iOS 12, tvOS 12, and watchOS 5 SDKs. 2018-06-04 23:14:19 -07:00
Jordan Rose
e202e90294 Clean up _BridgedNSError and _BridgedStoredNSError (#14682)
Despite their similar names and uses, these protocols no longer share
much functionality - the former is used to take @objc enums defined in
Swift that conform to Error and expose them as NSErrors, and the
latter handles NS_ERROR_ENUM C enums, which get imported into Swift as
a wrapper around NSError. We can actually simplify them quite a bit.

- Eliminate base protocol __BridgedNSError, which no longer provides
  any implementation for _BridgedStoredNSError.

- Eliminate default implementations that match what the compiler would
  synthesize.

- Adopt recursive constraints and where-clauses on associated types
  (and update the Clang importer to handle this).

- Collapse signed and unsigned default implementations when reasonable.

- Fold _BridgedStoredNSError's _nsErrorDomain into the existing public
  requirement CustomNSError.errorDomain.

rdar://problem/35230080
2018-03-07 13:14:36 -08:00
Saleem Abdulrasool
b67d5f0cf7 test: convert rm -rf && mkdir -p into %empty-directory
This converts the instances of the pattern for which we have a proper
substitution in lit.  This will make it easier to replace it
appropriately with Windows equivalents.
2018-03-06 14:30:54 -08:00
Max Moiseev
411054a1f9 [NFC][test] Add tests for all combinations of INSetProfileInCarIntent.init
<rdar://problem/33638857>
2017-11-14 11:52:39 -08:00
Max Moiseev
3d8f90ae40 [test] Add a missing RUN line to Intents test 2017-08-15 10:26:42 -07:00
Max Moiseev
cf7ea08ed3 [overlay] Public extensions on external protocol are not in fact public 2017-08-14 17:15:46 -07:00
Max Moiseev
7569dc9585 "[overlay] Add back INSetProfileInCarIntent.defaultProfile for compatibliity
<rdar://problem/33457609>
2017-07-25 15:19:43 -07:00
Kyle Zhao
923468be6b [overlay] Add INRideOption
<rdar://problem/32935297>
2017-07-12 11:36:54 -07:00
wmattelaer
a724284455 [overlay] Introducing INParameter
<rdar://problem/32409847>
2017-06-26 11:21:10 -07:00
Max Moiseev
9fc37efee4 [test] renaming test/1_stdlib to just test/stdlib 2016-09-01 16:51:43 -07:00