Skip to content
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

[SR-13853] [C++] Nested class templates. #56251

Open
zoecarver opened this issue Nov 13, 2020 · 2 comments
Open

[SR-13853] [C++] Nested class templates. #56251

zoecarver opened this issue Nov 13, 2020 · 2 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. c++ interop Feature: Interoperability with C++ compiler The Swift compiler in itself

Comments

@zoecarver
Copy link
Collaborator

Previous ID SR-13853
Radar rdar://problem/83405999
Original Reporter @zoecarver
Type Bug
Status Reopened
Resolution
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, CxxInterop
Assignee None
Priority Medium

md5: 8fda276eba019fbc2e41dbf0e7f4b8d3

Issue Description:

We crash with the infamous "interesting nesting of C types?" assertion when importing this following program:

template<class T>
struct S11 {
  template<class U>
  struct S12 { };
};

using Spec1 = S11<int>;
using Spec2 = Spec1::S12<int>; // No error when this is uncommented.
@zoecarver
Copy link
Collaborator Author

I was on the wrong branch when I tested this, it's not yet fixed. But #​34538 will resolve it.

@zoecarver
Copy link
Collaborator Author

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@zoecarver zoecarver added c++ interop Feature: Interoperability with C++ and removed CxxInterop labels Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. c++ interop Feature: Interoperability with C++ compiler The Swift compiler in itself
Projects
None yet
Development

No branches or pull requests

1 participant