digitalmars.D.bugs - [Issue 4395] New: Nested map fails
- d-bugmail puremagic.com (28/28) Jun 27 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4395
- d-bugmail puremagic.com (13/13) Aug 14 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4395
http://d.puremagic.com/issues/show_bug.cgi?id=4395 Summary: Nested map fails Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: simen.kjaras gmail.com PDT --- auto fn1 = ( string s ) { return s; }; auto fn2 = ( string s ) { return map!fn1( [""] ); }; auto idirs = map!fn2( [""] ); The above code fails with the following error message: foo.d(114): Error: struct foo.main.Map!(fn2,string[]).Map inner struct Map cannot be a field foo.d(114): Error: struct foo.main.Map!(fn2,string[]).Map inner struct Map cannot be a field -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 27 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4395 David Simcha <dsimcha yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |dsimcha yahoo.com Resolution| |FIXED This appears to have been fixed, possibly due to fixes for several inner struct and forward reference bugs in the last release. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 14 2010