Skip to content

Commit 9676517

Browse files
committed
[43] draft update
1 parent ca8f605 commit 9676517

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

_drafts/2016-10-20-issue-43.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: ! 'Issue #43'
44
author: jsq
55
---
66

7-
Remember [SE-0025](https://github.com/apple/swift-evolution/blob/master/proposals/0025-scoped-access-level.md)? That's the proposal that controversially introduced `fileprivate`. However, if you're regretting this change (like me), then you might have another chance to be heard! See the mailing list discussion in this issue for details.
7+
Remember [SE-0025](https://github.com/apple/swift-evolution/blob/master/proposals/0025-scoped-access-level.md)? That's the proposal that controversially introduced `fileprivate`. However, if you're regretting this change (like me), then you might have another chance to be heard! See the mailing list discussion in this issue for details. This issue also covers "id-as-Any" and continues the on-going discussion about what should be considered a source-breaking change.
88

99
<!--excerpt-->
1010

@@ -14,12 +14,27 @@ Remember [SE-0025](https://github.com/apple/swift-evolution/blob/master/proposal
1414

1515
### Community
1616

17+
There's a new post &mdash; [*Objective-C id as Swift Any*](https://developer.apple.com/swift/blog/?id=39) &mdash; on the official Apple Developer Swift blog. It clearly explains the changes in Swift 3.0 regarding Objective-C `id` importing into Swift as `Any` instead of `AnyObject`. If you've been confused about this, the post should clear things up!
18+
1719
If you are contributing to or interested in LLVM, the [LLVM Developers' Meeting](http://llvm.org/devmtg/2016-11/) is coming up on November 3-4.
1820

1921
### Commits and pull requests
2022

23+
Rintaro Ishizaki has submitted a [pull request](https://github.com/apple/swift/pull/5290) to fix [SR-2843](https://bugs.swift.org/browse/SR-2843). The theme of "is this a source-breaking change" returns!
24+
25+
> In type parsing, `P1 & P2.Type` was parsed as `(metatype (composition P1 & P2))` and accepted.
26+
On the other hand, in expression position, `(P1 & P2.Type).self` was converted to just `P1` (`P2.Type` was silently discarded).
27+
> This PR fixes this problem, while keeping *source compatibility* to the current behavior.
28+
That said, expr:`(P1 & P2.Type).self` as type:`P1` is just a bug. IMO, no need to keep this behavior.
29+
2130
Back in June, Austin Zheng [rewrote](https://github.com/apple/swift/pull/3046) native hashed collection indices, refactoring `Dictionary` and `Set`. This week, Alexis Beingessner took over and [rebased](https://github.com/apple/swift/pull/5291) the pull request and resolved conflicts. Despite some behavior differences and possible bridging performance regressions, it looks like the changes bring a lot of structural improvements to the code.
2231

32+
Greg Parker submitted a [pull request](https://github.com/apple/swift/pull/5282) for a new reference count representation (work-in-progress). Based on the [benchmarks](https://github.com/apple/swift/pull/5282#issuecomment-253705039) noted by **@swift-ci**, there seem to be quite a few regressions &mdash; but I'm sure these will be fixed before merging!
33+
34+
Dave Abrahams made a [small tweak](https://github.com/apple/swift/pull/5267) to (hopefully) speed up `Set`/`Dictionary` initialization from a `Sequence`.
35+
36+
Doug Coleman opened a [pull request](https://github.com/apple/swift/pull/5048) to make the `utils/update-checkout` python script run in parallel. 😎 This should be useful for contributors.
37+
2338
From this week's [LLVM weekly](http://llvmweekly.org/issue/146), a [lengthy proposal](https://reviews.llvm.org/rL284077) on moving LLVM to GitHub was added. As mentioned before, having all of these projects on GitHub could be beneficial to Swift contributors, and possibly lower the barrier to getting involved with LLVM.
2439

2540
### Accepted proposals

0 commit comments

Comments
 (0)