You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additional context
I think there are two bugs. There are two commits between __SWIFT_5.7_CRASHER__ and __SWIFT_5.7_CRASHER_WORKAROUND__. One fixes the first issue, the other fixes the other issue.
I don’t know what the issues are though.
I tried reducing the crash but did not succeed.
The text was updated successfully, but these errors were encountered:
Frizlab
added
the
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
label
Jun 27, 2022
The gist contains the output when compiling with Xcode directly, and when compiling using the command line with the same Xcode version toolchain (swift build, with Swift version swift-driver version: 1.62.3 Apple Swift version 5.7 (swiftlang-5.7.0.123.8 clang-1400.0.29.50) Target: arm64-apple-macosx12.0).
The crash is reproducible 100% on my side.
I can get the same crash in Xcode than in SPM by workarounding the Xcode crash. See this commit.
The SPM crash is workarounded with this commit.
Neither workarounds are equivalent to the original code; they are simply a removal of the code that make the compiler crash.
Seems fixed (I did not get the crash) with toolchain org.swift.57202208291a (Apple Swift version 5.8-dev (LLVM 03bd949eeee4761, Swift 2c40a850df6f409) - Target: arm64-apple-macosx13.0).
Describe the bug
Trying to compile this repo at this tag crashes the compiler w/ the current preview of Swift 5.7 (see versions later).
When switching to tag
__SWIFT_5.7_CRASHER_WORKAROUND__
there are no crashes of the compiler anymore.To Reproduce
Steps to reproduce the behavior:
__SWIFT_5.7_CRASHER__
Expected behavior
The compilation should report errors or should pass. It should not crash.
Environment
swiftlang/swift:nightly-5.7-focal
(5ea3ea9c2666
)Additional context
I think there are two bugs. There are two commits between
__SWIFT_5.7_CRASHER__
and__SWIFT_5.7_CRASHER_WORKAROUND__
. One fixes the first issue, the other fixes the other issue.I don’t know what the issues are though.
I tried reducing the crash but did not succeed.
The text was updated successfully, but these errors were encountered: