Skip to content

Does not compile using 6.2 toolchain #208

Open
@frogg

Description

@frogg

Hello!

I was told to use this Swift toolchain in order to make some other Swift package compilable for iOS 26 (see here):

https://download.swift.org/swift-6.2-branch/xcode/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-06-12-a/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-06-12-a-osx.pkg

That Swift toolchain version makes the other Swift package compile, but crashes on Defaults with:

Assertion failed: (!E->getType()->hasLValueType() && "l-values must be emitted with emitLValue"), function emitRValue, file SILGenExpr.cpp, line 7354.
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.

Any idea what that could be? Do I need to wait for Apple to fix the Swift compiler?

I have also filed a radar with Apple already: FB18078571

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions