Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed type of "declaration" in TypeChecker.rst #46

Merged
merged 1 commit into from
Dec 3, 2015
Merged

fixed type of "declaration" in TypeChecker.rst #46

merged 1 commit into from
Dec 3, 2015

Conversation

mike-u
Copy link

@mike-u mike-u commented Dec 3, 2015

Was misspelled "declaraion"

tkremenek added a commit that referenced this pull request Dec 3, 2015
fixed type of "declaration" in TypeChecker.rst
@tkremenek tkremenek merged commit a97b75d into swiftlang:master Dec 3, 2015
DougGregor added a commit to DougGregor/swift that referenced this pull request Oct 1, 2017
Rather than using the default slice type when slicing the collection produced
by a lazy map or filter, slice the base collection and form a new
lazy map/filter collection from it. This allows any optimizations provided by
the collection SubSequence type to kick in, as well as ensuring that slicing
a lazy collection provides the same type as producing a lazy collection of a
slice.

This is technically source-breaking, because someone could have spelled out
the types of slicing a lazy filter or map… but it seems unlikely to matter
in practice and the benefits could be significant.

Fixes ABI FIXME’s swiftlang#28 and swiftlang#46.
milseman pushed a commit that referenced this pull request Nov 5, 2018
This shouldn’t really be necessary, but it makes sense to wait until we can reclaim memory like this consistently across the entire stdlib.
dan-zheng added a commit to dan-zheng/swift that referenced this pull request Feb 4, 2019
Slowly adding indirect passing support: removing old assertions, fixing latent bugs.
There are no unexpected test regressions.

Test programs fail during mandatory inlining with "Cannot construct Inlined loc from the given location".
```
@differentiable
func generic<T : Differentiable>(_ x: T) -> T
  where T.TangentVector : AdditiveArithmetic, T.CotangentVector : AdditiveArithmetic
{
  return x
}
print(pullback(at: Float(1), in: generic))
```

```
Cannot construct Inlined loc from the given location.
UNREACHABLE executed at /Users/danielzheng/swift-dev/swift/lib/SIL/SILLocation.cpp:221!
Stack dump:
...
1.	While running pass swiftlang#46 SILModuleTransform "MandatoryInlining".
...
```
maldahleh pushed a commit to maldahleh/swift that referenced this pull request Oct 26, 2020
test: add a utility to print nodes with kind for debugging purposes.
freak4pc pushed a commit to freak4pc/swift that referenced this pull request Sep 28, 2022
DougGregor pushed a commit to DougGregor/swift that referenced this pull request Apr 28, 2024
…lang-centos7

Support newer Clang in CentOS 7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants