[Issue 6843] New: Function to check whether std.conv.to will succeed

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6843 Summary: Function to check whether std.conv.to will succeed Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: enhancement

[Issue 6843] Function to check whether std.conv.to will succeed

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6843 --- Comment #1 from Jonathan M Davis jmdavisp...@gmx.com 2011-10-23 00:19:29 PDT --- Oh, and std.conv.to and std.conv.parse would probably use tryTo and tryParse respectively internally in order to reduced code duplication, but I suppose that

[Issue 6842] Can't use alias of instance member

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6842 timon.g...@gmx.ch changed: What|Removed |Added CC||timon.g...@gmx.ch --- Comment #2

[Issue 5409] Disallow (!x y)

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5409 timon.g...@gmx.ch changed: What|Removed |Added CC||timon.g...@gmx.ch --- Comment #4

[Issue 6842] Can't use alias of instance member

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6842 --- Comment #3 from Kenji Hara k.hara...@gmail.com 2011-10-23 02:21:48 PDT --- (In reply to comment #2) If foo.a is not a symbol, why does alias foo.a b; compile without an error? Now compiler treats foo.a as Foo.a, and Foo.a is a symbol. I

[Issue 6492] properties of alias this'd array overrides method

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6492 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 6753] Regression(2.055beta) Reinterpret cast of array to a tail const one doesn't work inside @trusted

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6753 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||patch, rejects-valid

[Issue 5123] Cannot assign null to a class with 'alias this'

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5123 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 6479] spurious alias this with struct and mixin template

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6479 --- Comment #2 from Kenji Hara k.hara...@gmail.com 2011-10-23 04:58:07 PDT --- This is a bug related to forward reference. struct Memory { mixin Wrapper!(); } //mixin template Wrapper() {} // OK struct Image { Memory sup; alias

[Issue 6777] alias this + cast(void*) == bug

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6777 --- Comment #1 from Kenji Hara k.hara...@gmail.com 2011-10-23 05:09:22 PDT --- I think this is right behavior. In D2, the implicit conversion from class type to void* is disabled. So auto p = cast(void*) c; the expression c is transformed

[Issue 6844] New: Reinterpret cast of static to dynamic array doesn't work in safe code

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6844 Summary: Reinterpret cast of static to dynamic array doesn't work in safe code Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW

[Issue 6479] spurious alias this with struct and mixin template

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6479 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||patch --- Comment #3

[Issue 6492] properties of alias this'd array overrides method

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6492 --- Comment #2 from Trass3r mrmoc...@gmx.de 2011-10-23 07:07:04 PDT --- How embarrassing. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 6492] properties of alias this'd array overrides method

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6492 --- Comment #3 from Kenji Hara k.hara...@gmail.com 2011-10-23 07:15:24 PDT --- Never mind! -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 6843] Function to check whether std.conv.to will succeed

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6843 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc ---

[Issue 6777] alias this + cast(void*) == bug

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6777 timon.g...@gmx.ch changed: What|Removed |Added CC||timon.g...@gmx.ch --- Comment #2

[Issue 2778] alias this + IFTI doesn't work.

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2778 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||patch --- Comment #1

[Issue 6669] Compiler seg fault when using square brackets in inline assembly

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6669 --- Comment #6 from Brad Roberts bra...@puremagic.com 2011-10-23 09:44:46 PDT --- I just tested with the most recent beta, built by Walter rather than hand built on the lion box, and it's working fine. Peter, if you can confirm that it's

[Issue 6843] Function to check whether std.conv.to will succeed

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6843 --- Comment #3 from Jonathan M Davis jmdavisp...@gmx.com 2011-10-23 11:10:36 PDT --- They're similar but not the same. Bug# 6840 is suggesting the creation of a template which wraps whether std.conv.to succeeds by catching the exception. This

[Issue 6845] New: ICE in Type::syntaxCopy

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6845 Summary: ICE in Type::syntaxCopy Product: D Version: D1 D2 Platform: All OS/Version: All Status: NEW Keywords: ice-on-invalid-code Severity: normal

[Issue 6845] ICE in Type::syntaxCopy

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6845 --- Comment #1 from Trass3r mrmoc...@gmx.de 2011-10-23 11:15:57 PDT --- This is more like the original problem: struct Blub { //alias int type; } struct Bla(T) { this(T.type t) // doesn't happen with a normal method { } }

[Issue 6753] Regression(2.055beta) Reinterpret cast of array to a tail const one doesn't work inside @trusted

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6753 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 6825] Regression(2.055+): Address of templated method incorrectly taken

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6825 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 6843] Function to check whether std.conv.to will succeed

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6843 --- Comment #4 from bearophile_h...@eml.cc 2011-10-23 12:46:46 PDT --- (In reply to comment #3) They're similar but not the same. Bug# 6840 is suggesting the creation of a template which wraps whether std.conv.to succeeds by catching the

[Issue 6843] Function to check whether std.conv.to will succeed

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6843 --- Comment #5 from Jonathan M Davis jmdavisp...@gmx.com 2011-10-23 12:53:16 PDT --- And this enhancement request is for a conversion function which doesn't throw. And once you have such a function, I see no need for maybeTo, but that's a

[Issue 6846] New: std.concurrency and fork/execv

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6846 Summary: std.concurrency and fork/execv Product: D Version: D2 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Phobos

[Issue 6744] Missing AA symbol with enum

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6744 Brad Roberts bra...@puremagic.com changed: What|Removed |Added CC||bra...@puremagic.com

[Issue 6669] Compiler seg fault when using square brackets in inline assembly

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6669 Brad Roberts bra...@puremagic.com changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Issue 5278] gentoo's 'hardended' gcc doesn't work with dmd

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5278 Brad Roberts bra...@puremagic.com changed: What|Removed |Added Summary|DMD generates programs that |gentoo's 'hardended'

[Issue 6744] Missing AA symbol with enum

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6744 --- Comment #4 from Jonathan M Davis jmdavisp...@gmx.com 2011-10-23 14:49:08 PDT --- I have code with a similar error which compiled with 2.054 (or at least between the release of 2.054 and 2.055 - it compiled before, but it won't compile with

[Issue 6744] Missing AA symbol with enum

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6744 Brad Roberts bra...@puremagic.com changed: What|Removed |Added Severity|regression |critical ---

[Issue 6744] Missing AA symbol with enum

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6744 --- Comment #6 from Jonathan M Davis jmdavisp...@gmx.com 2011-10-23 17:03:03 PDT --- Well, I'm definitely confused. I finally managed to reduce my code to a reasonably test case, but I can't find a version of the compiler where it worked. So,

[Issue 4584] std.algorithm.sort fails with SwapStrategy.stable

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4584 --- Comment #2 from Olivier Fabre axel.foster-5bcw...@yopmail.com 2011-10-23 18:52:08 PDT --- Oh well, Johannes' test case actually works fine here, so my bug might be a different one. Unless the value of optimisticInsertionSortGetsBetter in

[Issue 4224] alias this and opDispatch

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4224 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|REOPENED|RESOLVED

[Issue 6434] opDispatch must be considered before alias this.

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6434 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added CC||pelle.mans...@gmail.com

[Issue 6434] opDispatch must be considered before alias this.

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6434 --- Comment #8 from Kenji Hara k.hara...@gmail.com 2011-10-23 22:29:00 PDT --- Reopened pull request. https://github.com/D-Programming-Language/dmd/pull/349 Points: 1. alias this lookup should be considered first. It is the synonym of

[Issue 6569] Template fails to instantiate when alias this is used

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6569 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 2778] alias this + IFTI doesn't work.

2011-10-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2778 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added CC|