[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 https://github.com/D-Programming-Language/dmd/commit/3f0ccbaa3daa47a0b4a18b1ae2d55871e5e41a1

[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 https://github.com/D-Programming-Language/dmd/commit/77a617330302166c334f7760fb02e57032d08d2

[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 Stat

[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 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 receiving this mai

[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 --- 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 --- Comme

[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 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 that the functions gene

[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 the

"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 Compone

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 https://github.com/D-Programming-Language/dmd/commit/d6d3ed2527981df536e2e6b3f7d313bbf2f52c

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 cre

[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 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: http://d.puremagic.com/issues/userprefs.cgi?tab=ema

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 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: http://d.puremagic.com/issues/userprefs.cgi?tab=ema

[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 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() { > F

[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 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: http://d.puremagic.com/issues/show_bug.cgi?id=8675 Not

[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: http://d.

[Issue 3836] [tdpl] obligatory override attribute

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

[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 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 would also help for cod

[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 changed: What|Removed |Added Keywords||pull 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 Jonathan M Davis changed: What|Removed |Added CC||jmdavisp...@gmx.com --- Comment #1

[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 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: http://d.puremagic.com/issues/userprefs.cg

[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 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 in D are when > you'

[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 --- Com

[Issue 6946] Compile-time flags generator

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

[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 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 wouldn't even _exist

[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 https://github.com/D-Programming-Language/druntime/commit/92f92aa87c30370a2c7641499977d

[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 --- Com

[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 changed: What|Removed |Added Severity|normal |enhancement -- Configure issuemail: htt

[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 Severit

[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 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"\* (?!\s+)

[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 #4 from monarchdo...@gmail.com 2012-09-25 23:26:30 PDT --- (In reply to comment #3) > And someday even [1,2].dup will be nothrow. Doesn't dup allocate? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email

[Issue 8726] New: About immutable and const constructors

2012-09-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8726 Summary: About immutable and const constructors Product: D Version: D2 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: