http://d.puremagic.com/issues/show_bug.cgi?id=7498
Summary: function expected before (), not <function> Product: D Version: D2 Platform: x86_64 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: ellery-newco...@utulsa.edu --- Comment #0 from Ellery Newcomer <ellery-newco...@utulsa.edu> 2012-02-13 16:47:04 PST --- dmd 2.058 beta. the code: template Heap(){ template Inner(){ mixin template IndexMixin(){ void insert(SomeValue)(SomeValue value){ } } } } class MultiIndexContainer(Value, Args...){ alias Args[0] L0; alias L0.Inner!() M0; mixin M0.IndexMixin!() index0; class Index0{ void baburk(){ this.outer.index0.insert(1); } } } alias MultiIndexContainer!(int, Heap!()) C1; void main(){} the fireworks: multi_index.d(15): Error: function expected before (), not 'this.this.this.insert(SomeValue)' -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------