http://d.puremagic.com/issues/show_bug.cgi?id=9292
Summary: hasNestedArgs wrong result for nested template literal Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: johannesp...@gmail.com --- Comment #0 from Johannes Pfau <johannesp...@gmail.com> 2013-01-10 11:25:00 PST --- Created an attachment (id=1178) test case When compiling testcase.d, hasNestedArgs returns these results: topNIndex!() nested=0 Test!(indirectLess) nested=1 BinaryHeap!(Test()) nested=0 AFAIK BinaryHeap!(Test()) should also be marked as nested, as it needs Test!(indirectLess) which is nested? I'm not sure if this causes a real problem in dmd, but we use hasNestedArgs/isnested in gdc to tell the backend if the instantiated template is accessible from other modules. Therefore this test case currently ICEs gdc (also depends on gcc version. Some are more picky) BTW: Would it be OK to mark this as "blocker", as it blocks gdc from compiling that test case? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------