http://d.puremagic.com/issues/show_bug.cgi?id=3416
Summary: Non-compilable template instantiation in is(typeof()) fails compilation Product: D Version: 2.035 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: samu...@voliacable.com --- Comment #0 from Max Samukha <samu...@voliacable.com> 2009-10-18 11:25:00 PDT --- template bar() { void bar() { a b; // invalid code } } template foo() { enum foo = is(typeof(bar!())); } enum c = foo!(); test.d(19): Error: identifier 'a' is not defined test.d(19): Error: a is used as a type test.d(19): Error: variable Test.bar!().bar.b voids have no value -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------