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
Compiler crash when extending Obj-C code in Swift 5.8 / Xcode 14.3 RC 2 #64770
Comments
Please provide a stack trace. We want to know what was going on if it gets fixed by chance along the way. |
@AnthonyLatsis Sure, here's the output of
|
Update: Objective-C interop does not seem to be related to the issue; even after converting to Swift the compiler crash persists. I'm working on getting an updated minimally reproducible case. |
Description
When attempting to compile a project I'm working on with Swift 5.8 I run into a compiler crash. It fails on an extension in Swift adding a protocol conformance to an Objective-C type. I've managed to strip down the offending code to what I think is the bare minimum to reproduce the crash. Source repo here: https://github.com/simba909/swift-5.8-compilercrash
Steps to reproduce
LegacyNode+Versionable.swift
Expected behavior
The project should still fail to build (due to missing protocol requirements) but the compiler should be able to produce accurate diagnostics describing why compilation failed.
Environment
The text was updated successfully, but these errors were encountered: