digitalmars.D.bugs - [Issue 4373] New: Importing class with 'auto foo()' causes DMD Bus error
- d-bugmail puremagic.com (39/39) Jun 23 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4373
- d-bugmail puremagic.com (24/24) Jun 23 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4373
- d-bugmail puremagic.com (11/11) Feb 06 2011 http://d.puremagic.com/issues/show_bug.cgi?id=4373
- d-bugmail puremagic.com (12/12) Feb 10 2011 http://d.puremagic.com/issues/show_bug.cgi?id=4373
http://d.puremagic.com/issues/show_bug.cgi?id=4373 Summary: Importing class with 'auto foo()' causes DMD Bus error Product: D Version: D2 Platform: x86_64 OS/Version: Mac OS X Status: NEW Severity: major Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: soul8o8 gmail.com --- // File: a.d module a; class A{ auto foo(){ return 0; } } // File: b.d module b; import a; class B : A{ } % dmd -c a % dmd -c b Bus error % dmd -c a b % _ * Changing foo() to 'int foo()', 'static auto foo()', 'final auto foo()' or 'private auto foo()' makes it work. * Changing foo() to 'public auto foo()' or 'const auto foo()' causes the same error. * Moving the entire class A to the b.d-file makes it work for all cases. (Mac OS X 10.6.4, DMD v2.047) PS. D is very nice. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 23 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4373 Lars T. Kyllingstad <bugzilla kyllingen.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla kyllingen.net OS/Version|Mac OS X |All 04:14:12 PDT --- I can reproduce this on Linux. $ dmd -c -v b binary dmd version v2.047 config /etc/dmd.conf parse b importall b import object (/usr/local/include/d/druntime/object.di) import a (a.d) semantic b semantic2 b semantic3 b code b Segmentation fault -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 23 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4373 Brad Roberts <braddr puremagic.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Platform|x86_64 |x86 --- Mass migration of bugs marked as x86-64 to just x86. The platform run on isn't what's relevant, it's if the app is a 32 or 64 bit app. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 06 2011
http://d.puremagic.com/issues/show_bug.cgi?id=4373 Don <clugdbug yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED This failed in DMD2.049, but works in 2.050 and 2.051. The similar-sounding bug 5369 apparently still fails on Linux. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 10 2011