roxk/idlgen

Handle `ComponentConnectorT<ClassT<Class>>`

roxk opened this issue · 4 comments

roxk commented

https://github.com/microsoft/cppwinrt/tree/master/nuget#initializecomponent

struct DerivedPage : winrt::Windows::UI::Xaml::Markup::ComponentConnectorT<DerivedPageT<DerivedPage>>

Is a thing.

roxk commented

Seems like the bootstrap idl detection is going to get very fragile, and we should use tag type. Think this is kind of a duplicate of #43

roxk commented

Handled with implementing #43

roxk commented

Found boostrap isn't handling author_class, and updating bootstrap regex to find author_class while handling the ClassT<Class> stuff before crashes with stack overflow, similar issue: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86164

roxk commented

Using .+ instead of following C++ grammar fixes it, for now. But I bet for larger files it'd be an issue again...we will see.