Xcode shows an error message when importing a module that declares a typealias to a protocol with a primary associated type #60550
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Describe the bug
Xcode 14beta5 shows a message stating that "An internal error occurred. Source editor functionality is limited. Attempting to restore..." when importing a module that declare a typealias to a protocol with a primary associated type (and where the alias specifies the primary associated type, generically or not).
Steps To Reproduce
Steps to reproduce the behavior:
A
of a package, declareB
, import A, and then start to typestruct Hello {}
Expected behavior
Nothing happens.
Screenshots
Environment (please fill out the following information)
Additional context
Here is a package where the issue can be reproduced by starting editing the
EditThis.swift
file: XcodeIssue.zip.This is likely related to pointfreeco/swift-composable-architecture#1264
Associated Feedback: FB11244375
The issue started to occur in Xcode 14.0 beta 4. There is no issue when using Xcode 14.0 beta 3.
The text was updated successfully, but these errors were encountered: