mirror of https://github.com/mono/CppSharp.git
Browse Source
Since all template specialisations are incomplete by default, so are classes nested in them. When such classes are also forwarded, there are two incomplete declarations with the same name and in the same scope. Our parser searches by name and completion and it can therefore not make a difference between the two. Consequently, it always returns the first type it finds even if it isn't the right one. When clang::Sema later completes the specialisations, it completes the nested types too which leads to two identical complete types in the same scope. Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>pull/1017/head
7 changed files with 60 additions and 9 deletions
Loading…
Reference in new issue