Skip to content

Conversation

@Xazax-hun
Copy link
Contributor

Introduce a cache that helps cutting the recursion when we process a type that we already visited before but did not finish processing yet.

Fixes #85361

rdar://164153038

@Xazax-hun Xazax-hun added the c++ interop Feature: Interoperability with C++ label Dec 11, 2025
Copy link
Contributor

@egorzhdan egorzhdan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Just one comment on the test.

Introduce a cache that helps cutting the recursion when we process a
type that we already visited before but did not finish processing yet.

Fixes swiftlang#85361

rdar://164153038
@Xazax-hun
Copy link
Contributor Author

@swift-ci please smoke test

@Xazax-hun
Copy link
Contributor Author

@swift-ci please smoke test Windows

@Xazax-hun Xazax-hun enabled auto-merge December 12, 2025 11:34
@Xazax-hun Xazax-hun merged commit 0fcf2e1 into swiftlang:main Dec 12, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ interop Feature: Interoperability with C++

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Swift frontend crashes with infinite recursion with cxx-compatibility-mode-default

4 participants