Open nickolas-pohilets opened 8 months ago
Sorry for the late answer, I was just made aware of this issue. It fails under a merge-module
job. These have been deprecated a few years ago as they were prone to this find of failures.
It looks like the command line may be using the old driver written in C++, only the new driver written in Swift supports the new build mode emit-module-separately that replaces merge-module.
@nickolas-pohilets Was this seen only when building Swift locally? Can you make sure that you also build the new driver? There's a --swift-driver
flag for build-script, but it may be on by default at this time.
Description
Recursive generics cause infinite recursion when deserialising
.swiftmodule
file.Reproduction
Stack dump
Expected behavior
No crash. Ideally code should not be rejected as invalid, but if this is not possible, compilation error would be better than crash.
Environment
Swift version 5.11-dev (LLVM 8be112bb7e107a9, Swift df858a5ab96c574) Target: arm64-apple-macosx10.13
Additional information
No response