This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
template <typename T> struct AAA { template <typename T1, typename T2 = T> struct BBB { typedef T1 type1; typedef T2 type2; }; }; struct Param1 { int foo(); }; struct Param2 { int boo(); }; typedef typename AAA<Param1>::BBB<Param2>::type2 type; int main() { type var; var.foo(); // foo is unresolved return 0; }