Mikio Takeuchi
3a46ecb7f0
Use UNSUPPORTED to skip race tests
2017-02-27 12:17:53 +09:00
Mikio Takeuchi
dfeca11403
Disable race tests if nonatomic reference counting is used
2017-02-27 12:17:53 +09:00
Jordan Rose
af1a8154a3
Guard against racy access to NSError.setUserInfoValueProvider. ( #4280 )
...
This API is documented in its headers to only allow being called once
for a particular domain, so we have to make sure our check for an
existing provider is synchronized with the setting.
rdar://problem/27541751
2016-08-15 13:34:30 -07:00
Doug Gregor
47f01ee98d
Revert "Eliminate race in swift_bridgeErrorToNSError."
...
This reverts commit e07e88706d . The
crash came back, so there's obviously more I need to investigate here:
https://ci.swift.org/job/swift-PR-osx-smoke-test/881/testReport/junit/Swift(macosx-x86_64)/stdlib/ErrorProtocol_swift/
2016-08-03 23:48:33 -07:00
Doug Gregor
e07e88706d
Eliminate race in swift_bridgeErrorToNSError.
...
Huge thanks to John for noting that 'consume' didn't provide the
guarantees we wanted, and to Michael G. for getting a TSan build up
and running to identify/verify this race.
It's possible that this is overlay strict, and that we only need to
look at the domain to ensure that the code and userInfo are
visible. However, TSan seems to prefix the form in this patch, so
we'll be more conservative for now.
Fixes rdar://problem/27541751.
2016-08-03 15:21:15 -07:00
Nicole Jacque
65f933ea27
Disabling test until <rdar://problem/27541751> is resolved
2016-08-01 14:24:11 -07:00
Joe Groff
21c15d8fe9
Update validation tests for id-as-Any.
2016-07-25 06:40:37 -07:00
Doug Gregor
823c24b355
[SE-0112] Rename ErrorProtocol to Error.
...
This is bullet (5) of the proposed solution in SE-0112, and the last
major piece to be implemented.
2016-07-12 10:53:52 -07:00
Manav Gabhawala
7928140f79
[SE-0046] Implements consistent function parameter labels by discarding extraneous parameter names and adding _ where necessary
2016-04-06 20:21:58 -04:00
Slava Pestov
49c54870c1
Serialization: Auto-linking recursively walks modules imported from -sil-serialize-all modules
2016-04-01 12:21:36 -07:00
Max Moiseev
a49dab6bf8
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2016-02-29 12:08:52 -08:00
Dmitri Gribenko
efaa39ea79
stdlib: add first argument labels and some other changes to conform to API guidelines
2016-02-15 23:47:54 -08:00
Max Moiseev
3a3984877a
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2016-02-15 15:43:34 -08:00
Maxim Moiseev
0e54467bfa
Final bulk removal of Type suffix
2015-12-16 17:06:19 -08:00
Max Moiseev
2021dd5a4d
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2015-12-15 12:49:22 -08:00
Dmitri Gribenko
feacbc4433
Rename ErrorType to ErrorProtocol
2015-12-09 17:12:19 -08:00