[Issue 6857] Precondition contract checks should be statically bound.

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6857 --- Comment #87 from deadalnix deadal...@gmail.com 2013-01-10 00:41:57 PST --- (In reply to comment #85) I've had the opportunity to discuss the matter with Bertrand Meyer himself and with a graduate student of his. Bertrand didn't have a

[Issue 7152] Can't assign null to default argument

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7152 Denis Shelomovskij verylonglogin@gmail.com changed: What|Removed |Added Status|REOPENED

[Issue 8354] Some missing import std.math to use ^^ operator error messages

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8354 Puneet Goel pun...@coverify.org changed: What|Removed |Added Status|RESOLVED|REOPENED

[Issue 5176] Limit static object sizes

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5176 --- Comment #20 from Don clugd...@yahoo.com.au 2013-01-10 01:14:30 PST --- (In reply to comment #18) (In reply to comment #17) Windows inserts a guard page that is hardware protected beyond the end of the allocated stack. A stack

[Issue 9290] New: Ability to modify immutable as static array assignment is allowed when it must not

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9290 Summary: Ability to modify immutable as static array assignment is allowed when it must not Product: D Version: D2 Platform: All OS/Version: All Status: NEW

[Issue 5176] Limit static object sizes

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5176 --- Comment #21 from bearophile_h...@eml.cc 2013-01-10 01:46:38 PST --- (In reply to comment #17) Windows inserts a guard page that is hardware protected beyond the end of the allocated stack. A stack overflow runs into that guard page,

[Issue 9289] [Regression 2.061] Had been deprecated language features are enabled again in default

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9289 Leandro Lucarella leandro.lucare...@sociomantic.com changed: What|Removed |Added CC|

[Issue 9289] [Regression 2.061] Had been deprecated language features are enabled again in default

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9289 Jonathan M Davis jmdavisp...@gmx.com changed: What|Removed |Added CC|

[Issue 8078] receiveOnly should tell which type it expected and got on mismatch

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8078 --- Comment #2 from github-bugzi...@puremagic.com 2013-01-10 05:02:00 PST --- Commits pushed to master at https://github.com/D-Programming-Language/phobos

[Issue 8078] receiveOnly should tell which type it expected and got on mismatch

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8078 Alex R�nne Petersen a...@lycus.org changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 9288] Parameter(Identifier|DefaultValue)Tuple report pointless errors

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9288 --- Comment #2 from github-bugzi...@puremagic.com 2013-01-10 05:02:56 PST --- Commits pushed to master at https://github.com/D-Programming-Language/phobos

[Issue 8586] [ICE] (module.c, line 829) with -noboundscheck and local import

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8586 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 7842] ICE(cgcs.c) 517 with struct literal field increment

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7842 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 3865] ICE(cgcs.c): Assigning to struct literal member

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3865 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 7522] ICE(interpret.c) Accessing a non-static member without this

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7522 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 9281] Enum struct with op overloading doesnt works

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9281 --- Comment #1 from Kenji Hara k.hara...@gmail.com 2013-01-10 06:22:48 PST --- Did this really work with 2.060? I cannot reproduce the works 2.060. Column.opAssign is an immutable member function, then we can call it from immutable object

[Issue 6743] ICE(mars.c) attempting to compile an exe file

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6743 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Keywords||pull

[Issue 9289] [Regression 2.061] Had been deprecated language features are enabled again in default

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9289 --- Comment #4 from Leandro Lucarella leandro.lucare...@sociomantic.com 2013-01-10 06:56:59 PST --- I still don't understand why is it a good idea to treat deprecated language features differently from deprecated symbols. Deprecated language

[Issue 9289] [Regression 2.061] Had been deprecated language features are enabled again in default

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9289 --- Comment #5 from Leandro Lucarella leandro.lucare...@sociomantic.com 2013-01-10 07:03:04 PST --- Well I see the second example from Kenji doesn't print any warnings, that's certainly a problem. But the first example works just fine, it

[Issue 6538] ICE(mangle.c) Invalid template constraints

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6538 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 6107] ICE(expression.c) when a non-template member named '__ctor' exists in a struct, and the constructor is attempted to be invoked.

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6107 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 8742] Anonymous nested class derived from another nested class makes DMD crash

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8742 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 8456] DMD crash with variadic base-class ctor and non-variadic subclass ctor

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8456 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 8586] [ICE] (module.c, line 829) with -noboundscheck and local import

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8586 --- Comment #5 from jens.k.muel...@gmx.de 2013-01-10 07:32:51 PST --- Me neither. Tested on Linux. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 8888] enums with initializers inside functions cause linker error

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id= Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 6057] Problem with defining enum in function

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6057 --- Comment #2 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-01-10 07:37:02 PST --- *** Issue has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ---

[Issue 9281] Enum struct with op overloading doesnt works

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9281 --- Comment #2 from Daniel Kozak kozz...@gmail.com 2013-01-10 07:42:45 PST --- (In reply to comment #1) Did this really work with 2.060? I cannot reproduce the works 2.060. Column.opAssign is an immutable member function, then we can call

[Issue 5176] Limit static object sizes

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5176 --- Comment #22 from Andrei Alexandrescu and...@erdani.com 2013-01-10 09:08:49 PST --- How large are the guard pages on each OS? We should either restrict object size to a reasonable maximum, or insert runtime checks at least in @safe mode

[Issue 5176] Limit static object sizes

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5176 --- Comment #23 from Andrei Alexandrescu and...@erdani.com 2013-01-10 09:12:28 PST --- Oh there's also a confusion. The problem is not with the stack, it's with accessing fields through null pointers. Getting back to the original example:

[Issue 6857] Precondition contract checks should be statically bound.

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6857 --- Comment #88 from Andrei Alexandrescu and...@erdani.com 2013-01-10 09:14:02 PST --- @Walter: would you preapprove this? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail

[Issue 5507] countUntil should take Ranges... instead of R2

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5507 Brad Anderson e...@gnuk.net changed: What|Removed |Added CC||e...@gnuk.net ---

[Issue 9291] New: [ICE] throwing undefined identifier with nothrow crashes dmd

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9291 Summary: [ICE] throwing undefined identifier with nothrow crashes dmd Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity:

[Issue 5176] Limit static object sizes

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5176 --- Comment #24 from Jacob Carlborg d...@me.com 2013-01-10 10:14:47 PST --- (In reply to comment #22) How large are the guard pages on each OS? We should either restrict object size to a reasonable maximum, or insert runtime checks at

[Issue 9291] [ICE][REG] throwing undefined identifier with nothrow crashes dmd

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9291 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Keywords||pull

[Issue 9287] DMD should read from stdin when an input file is -

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9287 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 8742] Anonymous nested class derived from another nested class makes DMD crash

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8742 --- Comment #2 from David Eckardt david.ecka...@sociomantic.com 2013-01-10 10:43:28 PST --- It sounds plausible to me that the code is invalid due to wrong nesting; I didn't notice that, sorry. -- Configure issuemail:

[Issue 8941] Documentation for the Yes struct in Phobos std.typecons appears incorrect

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8941 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 8727] __traits(is_reserved_word, ) ?

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8727 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 9292] New: hasNestedArgs wrong result for nested template literal

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9292 Summary: hasNestedArgs wrong result for nested template literal Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 5176] Limit static object sizes

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5176 --- Comment #25 from hst...@quickfur.ath.cx 2013-01-10 11:46:07 PST --- (In reply to comment #17) Windows inserts a guard page that is hardware protected beyond the end of the allocated stack. A stack overflow runs into that guard page,

[Issue 5176] Limit static object sizes

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5176 --- Comment #26 from Walter Bright bugzi...@digitalmars.com 2013-01-10 12:03:50 PST --- (In reply to comment #22) How large are the guard pages on each OS? Usually 4k. But the function prologs, when creating a stack frame larger than 4k,

[Issue 5176] Limit static object sizes

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5176 --- Comment #27 from Walter Bright bugzi...@digitalmars.com 2013-01-10 12:08:12 PST --- Oh yes it does: You can test this with a far simpler program. Just write a function that calls itself and run it under the debugger. -- Configure

[Issue 9292] hasNestedArgs wrong result for nested template literal

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9292 Iain Buclaw ibuc...@ubuntu.com changed: What|Removed |Added CC||ibuc...@ubuntu.com

[Issue 4286] Wrong error line number and more with schwartzSort

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4286 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Issue 6227] Comparison of different enums

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6227 --- Comment #1 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-01-10 14:59:00 PST --- *** Issue 8157 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ---

[Issue 8157] Disallow (dis)equality among two different enums

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8157 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 7662] int[1u] not implicitly convertible to immutable

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7662 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 8354] Some missing import std.math to use ^^ operator error messages

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8354 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|REOPENED|RESOLVED

[Issue 9047] Expression requiring std.math fails with function-local import

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9047 --- Comment #6 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-01-10 15:07:59 PST --- *** Issue 8354 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ---

[Issue 8807] Better error messages for a switch on doubles

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8807 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 8628] IntegerExp::toInteger(): Assertion `0' failed

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8628 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 5140] Add __FUNCTION__

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5140 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Keywords||pull

[Issue 5140] Add __FUNCTION__

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5140 --- Comment #5 from bearophile_h...@eml.cc 2013-01-10 20:23:21 PST --- If __FUNCTION__ gets approved, then probably the probability of __function getting approved decreases. And I don't care for __FUNCTION__. -- Configure issuemail:

[Issue 9249] Defining opCast disables Upcasting

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9249 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 8628] IntegerExp::toInteger(): Assertion `0' failed

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8628 Ellery Newcomer ellery-newco...@utulsa.edu changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 9249] Defining opCast disables downcasting and explicit upcasting

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9249 Puneet Goel pun...@coverify.org changed: What|Removed |Added Summary|Defining opCast disables|Defining opCast

[Issue 9249] Defining opCast disables downcasting and explicit upcasting

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9249 --- Comment #3 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-01-10 20:58:23 PST --- I've tried a version as old as 2.032 which has the same behavior. It's odd this wasn't picked up before. What I think should happen is opCast should be

[Issue 9293] New: enum struct with StructInitializer reports weird error

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9293 Summary: enum struct with StructInitializer reports weird error Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity:

[Issue 9218] [2.061] Correct signature of struct opCmp no longer accepts enum structs

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9218 --- Comment #10 from Kenji Hara k.hara...@gmail.com 2013-01-10 22:08:42 PST --- (In reply to comment #9) Ok, that workabout is not quite complete (perhaps this is a different bug now?). While it solves the code in the original comment, this

[Issue 9293] enum struct with StructInitializer reports weird error

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

[Issue 9281] Enum struct with op overloading doesnt works

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9281 --- Comment #3 from Kenji Hara k.hara...@gmail.com 2013-01-10 22:52:17 PST --- (In reply to comment #2) Yes my fault, I try to simplify too much. Here is more detailed description Code which works on 2.060 and don`t compile on 2.061

[Issue 9281] Enum struct with op overloading doesnt works

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

[Issue 5140] Add __FUNCTION__

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5140 --- Comment #6 from Rob T al...@ucora.com 2013-01-10 23:24:01 PST --- (In reply to comment #2) See a better explanations and some examples of __function: http://rosettacode.org/wiki/Anonymous_recursion I really would love to have the

[Issue 4540] Better error message for wrong switch type

2013-01-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4540 --- Comment #2 from github-bugzi...@puremagic.com 2013-01-10 23:54:43 PST --- Commits pushed to master at https://github.com/D-Programming-Language/dmd