Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
September 18, 2013 [Issue 11063] New: __MODULE__ in mixin crash dmd | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=11063 Summary: __MODULE__ in mixin crash dmd Product: D Version: D2 Platform: All OS/Version: Linux Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: code.viator@gmail.com --- Comment #0 from Oleg B <code.viator@gmail.com> 2013-09-18 03:56:41 PDT --- file mixinmodulefail.d [code] import std.stdio; void main() { mixin( "writeln( __MODULE__ );" ); } [/code] $ dmd mixinmodulefail.d Segmentation fault (core dumped) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 18, 2013 [Issue 11063] __MODULE__ in mixin crash dmd | ||||
---|---|---|---|---|
| ||||
Posted in reply to Oleg B | http://d.puremagic.com/issues/show_bug.cgi?id=11063 --- Comment #1 from Oleg B <code.viator@gmail.com> 2013-09-18 04:25:54 PDT --- $ uname -a Linux lenovo 3.10.11-200.fc19.x86_64 #1 SMP Mon Sep 9 13:03:01 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux $ dmd -v DMD64 D Compiler v2.063.2 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 18, 2013 [Issue 11063] __MODULE__ in mixin crash dmd | ||||
---|---|---|---|---|
| ||||
Posted in reply to Oleg B | http://d.puremagic.com/issues/show_bug.cgi?id=11063 safety0ff.bugz@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |safety0ff.bugz@gmail.com --- Comment #2 from safety0ff.bugz@gmail.com 2013-09-18 05:53:30 PDT --- __MODULE__ alone causes a segfault here: void main() { ( __MODULE__); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 18, 2013 [Issue 11063] __MODULE__ in mixin crash dmd | ||||
---|---|---|---|---|
| ||||
Posted in reply to Oleg B | http://d.puremagic.com/issues/show_bug.cgi?id=11063 hsteoh@quickfur.ath.cx changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |hsteoh@quickfur.ath.cx Resolution| |WORKSFORME --- Comment #3 from hsteoh@quickfur.ath.cx 2013-09-18 08:39:35 PDT --- Works on DMD git HEAD (2f59d8656a6b97e0bb285d6b5bbd5c9d5f69b9ad). I'll add a test case to DMD to prevent future regression. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 18, 2013 [Issue 11063] __MODULE__ in mixin crash dmd | ||||
---|---|---|---|---|
| ||||
Posted in reply to Oleg B | http://d.puremagic.com/issues/show_bug.cgi?id=11063 --- Comment #4 from hsteoh@quickfur.ath.cx 2013-09-18 09:02:40 PDT --- https://github.com/D-Programming-Language/dmd/pull/2571 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 18, 2013 [Issue 11063] __MODULE__ in mixin crash dmd | ||||
---|---|---|---|---|
| ||||
Posted in reply to Oleg B | http://d.puremagic.com/issues/show_bug.cgi?id=11063 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.mitrovich@gmail.com Resolution|WORKSFORME |DUPLICATE --- Comment #5 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-09-18 09:09:05 PDT --- *** This issue has been marked as a duplicate of issue 10695 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation