swift icon indicating copy to clipboard operation
swift copied to clipboard

The Swift Programming Language

Results 728 swift issues
Sort by recently updated
recently updated
newest added
trafficstars

Older glibc doesn't include these. Nor does Musl, it seems. The previous fix put the `gettid()` declaration too far down the file. rdar://110417355

We were using a regular expression to scan `/proc//maps`, but we shouldn't really do that because it breaks non-bootstrapped builds. Resolves #66457. rdar://110452324

🍒 release cherry pick
swift 5.9

`.swiftmodule` is listed as an output of pure swift libraries, but it isn't updated if there's been no changes (just like the library and its object files). Add it to...

This requirement seems to be too restrictive. The test works for me as-is on an M2 Max (removing the REQUIRES line, of course). I assume the intention is to limit...

This crashes in SILGen: ```swift extension Never { init(value: Self) { self = switch value { case let v: v } } } ``` ``` Assertion failed: (hasValidInsertionPoint()), function insertImpl,...

bug
compiler
SILGen
crash
switch
expressions
swift 5.9
assertion failure

**Motivation** While prototyping a solution to [this](https://github.com/apple/swift/issues/66420) issue, I encountered a strange behavior of the optimizer. It appears that the optimizer considers `init` with an assignment to a class `let`...

feature
triage needed

Testing https://github.com/apple/swift/pull/64948 on the `main-windows-vs2022` to see if the CI hits the same issues.

Allows protocols to be nested in non-generic types/functions. Gated behind flag `-enable-experimental-feature NestedProtocols`. SE proposal coming soon. TODO: - [ ] Test that ASTPrinter adds feature guards around uses of...