[Issue 3764] New: Remove Phobos workarounds for fixed bugs

2010-02-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3764

   Summary: Remove Phobos workarounds for fixed bugs
   Product: D
   Version: 2.040
  Platform: Other
OS/Version: Windows
Status: NEW
  Severity: normal
  Priority: P2
 Component: Phobos
AssignedTo: nob...@puremagic.com
ReportedBy: clugd...@yahoo.com.au


--- Comment #0 from Don clugd...@yahoo.com.au 2010-02-02 02:49:35 PST ---
Workarounds to the following fixed compiler bugs appear in the Phobos source
(grep for @@@). The workarounds can now be removed.

2340
2341
2597
2612
2674
2675
2725
3269

Additionally, bug 2130 has been resolved as by design, so the comments about
it should be removed from the source code.

(There are still at least six unfixed compiler bugs that affect Phobos).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3744] __traits getMember error in checking of second argument

2010-02-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3744



--- Comment #8 from iorlas denis.tomi...@gmail.com 2010-02-02 14:40:11 PST ---
Maybe not a pure, but works(also, thx to eldar, qtd-developer):

template Alias(T...){ //small hack, cuz directly alias dont want to work
alias T Alias;
}
alias Alias!(__traits(allMembers, abc)) ABCMEMBS; //alias creates data as
compile-time var
void main(){
foreach(m;ABCMEMBS){ //now we can use it in compile-time
writeln(m, : , typeid(typeof(__traits(getMember, abc, m; //all
ok, cuz it's in compile-time
}
}

class abc{
void foo(){
}
int a,b,c;
}

We have this output:
foo: void()
a: int
b: int
c: int

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 3744] __traits getMember error in checking of second argument

2010-02-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3744


iorlas denis.tomi...@gmail.com changed:

   What|Removed |Added

   Priority|P2  |P4
Version|2.040   |2.041
   Severity|blocker |minor


--- Comment #9 from iorlas denis.tomi...@gmail.com 2010-02-02 14:43:13 PST ---
Changed priority, cuz now i can use one way to solve my problem. See code in
prev msg.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 1386] string expected when using allMembers-element in __traits(getMember, ...)

2010-02-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1386



--- Comment #8 from Hoenir mrmoc...@gmx.de 2010-02-02 17:02:30 PST ---
allMembers returns a tuple now (svn r360) but this still doesn't work. Yields a
strange error.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 1001] print stack trace (in debug mode) when program die

2010-02-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1001


Sean Kelly s...@invisibleduck.org changed:

   What|Removed |Added

 Status|NEW |ASSIGNED


--- Comment #3 from Sean Kelly s...@invisibleduck.org 2010-02-02 20:12:53 PST 
---
Flectioned doesn't work any more I'm afraid.  A replacement would be welcome,
though I may be able to sort something out quickly with the stuff in ucontext.h
on *nix.  Some platforms even have a backtrace call here, though output is
fixed to a specific format.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 1001] print stack trace (in debug mode) when program die

2010-02-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1001


BCS shro8...@vandals.uidaho.edu changed:

   What|Removed |Added

 CC||shro8...@vandals.uidaho.edu


--- Comment #4 from BCS shro8...@vandals.uidaho.edu 2010-02-02 22:40:41 PST 
---
does anyone know if the backtrace function from execinfo.h works with
DMD/Linux?


If it does, than that's the way to go. Heck, I've even got a blob of CPP code
I'd give way that calls addr2line to get nice output.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 1001] print stack trace (in debug mode) when program die

2010-02-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1001



--- Comment #6 from BCS shro8...@vandals.uidaho.edu 2010-02-02 23:44:41 PST 
---
(In reply to comment #5)
 The c function works, so it will work with dmd.

It will work with extern C functions but something's ticking a memory that D
functions aren't necessarily the same, or is that just the arguments layout?

What the heck, I'll try it tomorrow and see if it works.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---