Crash on `auto` references in function return types in templates
Opened this issue · 0 comments
adalisk-emikhaylov commented
template <typename T>
struct B
{
auto &blah() {return *this;}
};
inline B<int> foo() {return {};}This crashes on IsTypeComplete checks of the return type.
I'm using following options, in case it matters:
var options = driver.Options;
options.GeneratorKind = GeneratorKind.CSharp;
options.CheckSymbols = true;
options.GenerateClassTemplates = true;
driver.ParserOptions.LanguageVersion = CppSharp.Parser.LanguageVersion.CPP23;