Re: [Issue 8150] Throwing nothrow struct constructor?

2012-09-25 Thread monarch_dodra
On Monday, 24 September 2012 at 16:49:55 UTC, bearophile_h...@eml.cc wrote: http://d.puremagic.com/issues/show_bug.cgi?id=8150 bearophile_h...@eml.cc changed: What|Removed |Added

[Issue 8714] Missing error message with circular use of CTFE

2012-09-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8714 Don clugd...@yahoo.com.au changed: What|Removed |Added Keywords||CTFE, diagnostic, pull

[Issue 6873] Multiple storage class is not allowed on template argument

2012-09-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6873 --- Comment #2 from github-bugzi...@puremagic.com 2012-09-25 01:28:49 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 3091] auto x = new shared foo does not compile

2012-09-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3091 --- Comment #6 from github-bugzi...@puremagic.com 2012-09-25 01:28:44 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 8722] New: foreach triggers a floating point exception with multidimensional array of a dimension equal to 0

2012-09-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8722 Summary: foreach triggers a floating point exception with multidimensional array of a dimension equal to 0 Product: D Version: D2 Platform: All OS/Version: All

[Issue 8722] foreach triggers a floating point exception with multidimensional array of a dimension equal to 0

2012-09-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8722 --- Comment #1 from Christopher Crouzet blo...@hotmail.com 2012-09-25 02:10:09 PDT --- Did I really write too be...? Where's the edit button!? :) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are

[Issue 8722] foreach triggers a floating point exception with multidimensional array of a dimension equal to 0

2012-09-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8722 monarchdo...@gmail.com changed: What|Removed |Added CC||monarchdo...@gmail.com ---

[Issue 4747] Make each unittest block a separate function that runs independently of the others

2012-09-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4747 jens.k.muel...@gmx.de changed: What|Removed |Added CC||jens.k.muel...@gmx.de ---

[Issue 4747] Make each unittest block a separate function that runs independently of the others

2012-09-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4747 --- Comment #2 from Jonathan M Davis jmdavisp...@gmx.com 2012-09-25 03:51:40 PDT --- It has to do with naming unittest blacks, which is related both to stack traces and to calling unittest blocks independently. Recently, it _was_ fixed so

[Issue 4747] Make each unittest block a separate function that runs independently of the others

2012-09-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4747 --- Comment #3 from jens.k.muel...@gmx.de 2012-09-25 04:04:14 PDT --- But since unittests now have the line number in its name this issue is only concerned having the ability to call individual unittests. Right? Because now you can tell from

Access Violation Problems in DMD 2.060

2012-09-25 Thread Raphael Basso
Hello I'm having serious problems with Access Violation to create programs that make use of C DLLs in DMD 2060. After all, integration with DLLs in C DMD is fully functional?

[Issue 8723] New: Error: function called with argument types:

2012-09-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8723 Summary: Error: function called with argument types: Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

Re: Access Violation Problems in DMD 2.060

2012-09-25 Thread bearophile
Raphael Basso: I'm having serious problems with Access Violation to create programs that make use of C DLLs in DMD 2060. After all, integration with DLLs in C DMD is fully functional? Try asking in D.learn, and to give more infomation. Bye, bearophile

[Issue 3836] [tdpl] obligatory override attribute

2012-09-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3836 --- Comment #12 from github-bugzi...@puremagic.com 2012-09-25 06:12:56 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

About immutable and const constructors

2012-09-25 Thread FreeSlave
Hello to all. I want to discuss immutable and const constructors. For a start let's write the simple class with two constructors: class A { int x; this() immutable { x = 42; } this() { x = 13; } } Well, dmd passes this code, but what if we want to

[Issue 3091] auto x = new shared foo does not compile

2012-09-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3091 --- Comment #7 from Kenji Hara k.hara...@gmail.com 2012-09-25 06:44:15 PDT --- Fix for language reference: https://github.com/D-Programming-Language/d-programming-language.org/issues/159 -- Configure issuemail:

Re: About immutable and const constructors

2012-09-25 Thread Maxim Fomin
Ask in D.learn or in other forums. This forum is only a mirror of discussing issues from D bugzilla which is mistakenly opened for posting.

[Issue 6873] Multiple storage class is not allowed on template argument

2012-09-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6873 --- Comment #3 from Kenji Hara k.hara...@gmail.com 2012-09-25 06:43:16 PDT --- Fix for language reference: https://github.com/D-Programming-Language/d-programming-language.org/issues/159 -- Configure issuemail:

[Issue 8150] Throwing nothrow struct constructor?

2012-09-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8150 --- Comment #6 from Kenji Hara k.hara...@gmail.com 2012-09-25 06:51:38 PDT --- (In reply to comment #4) Now compiling this code: struct Foo { this(int) nothrow { // line 2 throw new Exception(something); } } void main()

[Issue 8724] New: Throwing exception in constructor prints strange warning

2012-09-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8724 Summary: Throwing exception in constructor prints strange warning Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: diagnostic

[Issue 8150] Throwing nothrow struct constructor?

2012-09-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8150 --- Comment #7 from Kenji Hara k.hara...@gmail.com 2012-09-25 06:56:50 PDT --- (In reply to comment #5) Could you also check that a nothrow constructor can still throw an Error please? From related:

[Issue 8150] Throwing nothrow struct constructor?

2012-09-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8150 --- Comment #8 from monarchdo...@gmail.com 2012-09-25 07:04:01 PDT --- (In reply to comment #7) (In reply to comment #5) Could you also check that a nothrow constructor can still throw an Error please? From related:

[Issue 3836] [tdpl] obligatory override attribute

2012-09-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3836 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 4747] Make each unittest block a separate function that runs independently of the others

2012-09-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4747 --- Comment #4 from Jonathan M Davis jmdavisp...@gmx.com 2012-09-25 09:37:58 PDT --- It makes it so that having named unittest blocks is less critical for stack traces, but having actual names for them would still me quite a bit better (it

[Issue 4747] Make each unittest block a separate function that runs independently of the others

2012-09-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4747 Johannes Pfau johannesp...@gmail.com changed: What|Removed |Added Keywords||pull

[Issue 8723] Error: function called with argument types:

2012-09-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8723 Jonathan M Davis jmdavisp...@gmx.com changed: What|Removed |Added CC|

[Issue 8723] Error: function called with argument types:

2012-09-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8723 --- Comment #3 from Maxim Fomin ma...@maxim-fomin.ru 2012-09-25 11:37:57 PDT --- By the way, following code is not compiled either (for the same reason): struct S; struct S {} void main() { } -- Configure issuemail:

[Issue 8723] Error: function called with argument types:

2012-09-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8723 --- Comment #2 from Maxim Fomin ma...@maxim-fomin.ru 2012-09-25 11:35:45 PDT --- (In reply to comment #1) Why is that clearly a bug? You gave two functions with identical function signatures. The only time that you give function prototypes

[Issue 8723] Error: function called with argument types:

2012-09-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8723 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc ---

[Issue 6946] Compile-time flags generator

2012-09-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6946 Denis Shelomovskij verylonglogin@gmail.com changed: What|Removed |Added CC|

[Issue 8723] Error: function called with argument types:

2012-09-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8723 --- Comment #5 from Jonathan M Davis jmdavisp...@gmx.com 2012-09-25 13:10:26 PDT --- And why on earth would you _need_ a prototype? This isn't C. We're not forced to declare functions higher up in a file before using them. Ideally, prototypes

[Issue 8651] Slice op Slice throws exceptions (not errors), and nothrow

2012-09-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8651 --- Comment #2 from github-bugzi...@puremagic.com 2012-09-25 16:34:27 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/druntime

[Issue 8651] Slice op Slice throws exceptions (not errors), and nothrow

2012-09-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8651 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc ---

[Issue 8723] Error: function called with argument types:

2012-09-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8723 Maxim Fomin ma...@maxim-fomin.ru changed: What|Removed |Added Severity|normal |enhancement --

[Issue 8725] New: segmentation fault with negative-lookahead in module-level regex

2012-09-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8725 Summary: segmentation fault with negative-lookahead in module-level regex Product: D Version: D2 Platform: x86_64 OS/Version: Mac OS X Status: NEW

[Issue 8725] segmentation fault with negative-lookahead in module-level regex

2012-09-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8725 --- Comment #1 from Val Markovic v...@markovic.io 2012-09-25 22:33:03 PDT --- Oh, and the segfault goes away if I put the regex creation directly in the call, like so: writeln( replace( input, regex( r\*