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:
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
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
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+)
http://d.puremagic.com/issues/show_bug.cgi?id=8723
Maxim Fomin changed:
What|Removed |Added
Severity|normal |enhancement
--
Configure issuemail: htt
http://d.puremagic.com/issues/show_bug.cgi?id=8651
bearophile_h...@eml.cc changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
--- Com
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
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
http://d.puremagic.com/issues/show_bug.cgi?id=6946
Denis Shelomovskij changed:
What|Removed |Added
CC||verylonglogin@gmail.com
--- C
http://d.puremagic.com/issues/show_bug.cgi?id=8723
bearophile_h...@eml.cc changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
--- Com
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'
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
http://d.puremagic.com/issues/show_bug.cgi?id=8723
Jonathan M Davis changed:
What|Removed |Added
CC||jmdavisp...@gmx.com
--- Comment #1
http://d.puremagic.com/issues/show_bug.cgi?id=4747
Johannes Pfau changed:
What|Removed |Added
Keywords||pull
CC|
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
http://d.puremagic.com/issues/show_bug.cgi?id=3836
Kenji Hara changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
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.
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
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
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
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
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.
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
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
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
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
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
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?
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
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
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
http://d.puremagic.com/issues/show_bug.cgi?id=8722
monarchdo...@gmail.com changed:
What|Removed |Added
CC||monarchdo...@gmail.com
--- Com
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
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
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
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
36 matches
Mail list logo