[Issue 5091] main runs after unittests

2010-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5091 Peter Alexander peter.alexander...@gmail.com changed: What|Removed |Added CC|

[Issue 5091] main runs after unittests

2010-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5091 --- Comment #2 from Peter Alexander peter.alexander...@gmail.com 2010-10-21 01:11:22 PDT --- Even if you don't buy that argument, consider this: with the current unittest, you only have to add a few lines of code to turn it off (as you

[Issue 5091] main runs after unittests

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

[Issue 5092] New: pure nothrow should be ignored for unit tests

2010-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5092 Summary: pure nothrow should be ignored for unit tests Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Keywords: patch Severity: enhancement

[Issue 5093] New: improve error for importing std.c.windows.windows

2010-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5093 Summary: improve error for importing std.c.windows.windows Product: D Version: D2 Platform: All OS/Version: Linux Status: NEW Severity: enhancement Priority: P2

[Issue 5057] std.variant.Algebraic-aware GC

2010-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5057 --- Comment #3 from bearophile_h...@eml.cc 2010-10-21 09:38:59 PDT --- A more general solution it to add to D an optional standard method, that may be named onScan or something else, that the garbage collection calls if present, and returns

[Issue 5093] improve error for importing std.c.windows.windows

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

[Issue 5094] New: No implicit conversion with alias property this

2010-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5094 Summary: No implicit conversion with alias property this Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal

[Issue 5094] No implicit conversion with alias property this

2010-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5094 --- Comment #1 from Shin Fujishiro rsi...@gmail.com 2010-10-21 10:07:27 PDT --- Created an attachment (id=789) Patch against dmd r725, fixes implicitConvTo() implicitConvTo() of TypeStruct and TypeClass don't deal with functions, and just

[Issue 5091] main runs after unittests

2010-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5091 --- Comment #4 from Simen Kjaeraas simen.kja...@gmail.com 2010-10-21 10:32:36 PDT --- (In reply to comment #1) (In reply to comment #0) When compiling a program with dmd -unittest, after the unittests are run, main() is called. This is

[Issue 5093] improve error for importing std.c.windows.windows

2010-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5093 Steven Schveighoffer schvei...@yahoo.com changed: What|Removed |Added CC|

[Issue 5095] New: Error for typesafe variadic functions for structs

2010-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5095 Summary: Error for typesafe variadic functions for structs Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: diagnostic Severity: minor

[Issue 5096] New: More readable unpaired brace error

2010-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5096 Summary: More readable unpaired brace error Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: diagnostic Severity: minor

[Issue 4571] Non-null class references/pointers

2010-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4571 --- Comment #3 from bearophile_h...@eml.cc 2010-10-21 17:52:56 PDT --- Another older partial implementation of typestates from Microsoft, in the Vault language:

[Issue 5097] New: Safer unions with @tagged

2010-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5097 Summary: Safer unions with @tagged Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: DMD

[Issue 5097] Safer unions with @tagged

2010-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5097 --- Comment #1 from bearophile_h...@eml.cc 2010-10-21 18:40:42 PDT --- This is not the same as std.variant.Algebraic because: - There is no way for the programmer to read the tag, because the tag and its tests vanish in release mode. - Unions

[Issue 5098] New: -unittest does not turn on asserts nor sets unittest version in D1

2010-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5098 Summary: -unittest does not turn on asserts nor sets unittest version in D1 Product: D Version: D1 Platform: Other OS/Version: All Status: NEW Severity:

[Issue 5097] Safer unions with @tagged

2010-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5097 Andrei Alexandrescu and...@metalanguage.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 5097] Safer unions with @tagged

2010-10-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5097 --- Comment #3 from Andrei Alexandrescu and...@metalanguage.com 2010-10-21 20:27:47 PDT --- (In reply to comment #2) (In reply to comment #1) This is not the same as std.variant.Algebraic because: - There is no way for the programmer to