[Issue 5332] Undefined reference to zero length array
http://d.puremagic.com/issues/show_bug.cgi?id=5332 --- Comment #5 from github-bugzi...@puremagic.com 2012-05-20 00:53:09 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/c4ae9e312d7946e7041e065b26996abff92d4424 partial fix Issue 5332 - Undefined reference to zero length array -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5332] Undefined reference to zero length array
http://d.puremagic.com/issues/show_bug.cgi?id=5332 --- Comment #6 from github-bugzi...@puremagic.com 2012-05-20 00:53:28 PDT --- Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/d6ee976c5c956a03ba807d1ce411685903c2664b partial fix Issue 5332 - Undefined reference to zero length array -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8116] new Foo().bar() should work
http://d.puremagic.com/issues/show_bug.cgi?id=8116 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- Comment #1 from bearophile_h...@eml.cc 2012-05-20 05:17:48 PDT --- I think something like (new Foo()).bar() works in D. If you want to change this, you need to change the operator precedence. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5332] Undefined reference to zero length array
http://d.puremagic.com/issues/show_bug.cgi?id=5332 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- Comment #7 from bearophile_h...@eml.cc 2012-05-20 05:29:04 PDT --- Maybe related to Issue 7997 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8124] New: std.net.isemail not included in phobos.lib
http://d.puremagic.com/issues/show_bug.cgi?id=8124 Summary: std.net.isemail not included in phobos.lib Product: D Version: D2 Platform: All OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: slud...@outerproduct.org --- Comment #0 from S�nke Ludwig slud...@outerproduct.org 2012-05-20 06:27:25 PDT --- Compiling a program that uses std.net.isemail on Windows will result in linker errors: --- import std.net.isemail; import std.stdio; void main() { string email = a@b.c; writefln(%s is email? %s, email, isEmail(email)); } --- gives --- OPTLINK (R) for Win32 Release 8.00.12 Copyright (C) Digital Mars 1989-2010 All rights reserved. http://www.digitalmars.com/ctg/optlink.html isemail.obj(isemail) Error 42: Symbol Undefined _D3std3net7isemail11EmailStatus6__ctorMFbAyaAyaE3std 3net7isemail15EmailStatusCodeZS3std3net7isemail11EmailStatus isemail.obj(isemail) Error 42: Symbol Undefined _D3std3net7isemail15EmailStatusCode6__initZ isemail.obj(isemail) Error 42: Symbol Undefined _D3std3net7isemail7__arrayZ isemail.obj(isemail) Error 42: Symbol Undefined _D3std3net7isemail9isNumericFwZb isemail.obj(isemail) Error 42: Symbol Undefined _D3std3net7isemail11EmailStatus6__initZ isemail.obj(isemail) Error 42: Symbol Undefined _D3std3net7isemail11EmailStatus5validMFNdZb isemail.obj(isemail) Error 42: Symbol Undefined _D3std3net7isemail11EmailStatus8toStringMFZAya --- errorlevel 7 --- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8104] UFCS on opaque struct won't compile
http://d.puremagic.com/issues/show_bug.cgi?id=8104 John Belmonte j...@neggie.net changed: What|Removed |Added CC||k.hara...@gmail.com, ||timon.g...@gmx.ch --- Comment #5 from John Belmonte j...@neggie.net 2012-05-20 06:44:31 PDT --- @Kenji: When brought up on the forum there seemed to be consensus that this was a bug. http://forum.dlang.org/thread/rseaqsqosqrnirrcl...@forum.dlang.org Why should the act of function member lookup on an opaque struct necessarily be an error? It should only be an error if the member cannot be resolved. Prior to UFCS, there was no way to resolve function members outside of the struct itself, so it made sense to raise an error directly from the struct's search call. At http://dlang.org/struct.html there is a section Opaque Structs and Unions. It says that the members of such a struct are hidden from the user. It's not clear on what hidden implies though. With respect to function members this documentation should be clarified: an opaque struct behaves as if it has no function members. Note that all the errors regarding forward reference are misleading. These structs not a forward reference, there are opaque. It's illegal to redefine an opaque struct: struct S; struct S { int foo; } // Error: struct S conflicts with struct S Given that, what are you trying to protect the user from by disallowing UFCS on these structs? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8114] Methods are delegates, not functions.
http://d.puremagic.com/issues/show_bug.cgi?id=8114 --- Comment #16 from Stewart Gordon s...@iname.com 2012-05-20 06:45:56 PDT --- (In reply to comment #15) It depends on what you mean by pointer to member. If it means there are no pointer-to-member _types_ in D, then that's what it should say. If you say a VARIABLE is a pointer to a member, then yes, it doesn't have to have a distinct type. If you say a TYPE is a pointer to a member, then (by definition), it is a distinct type. (Otherwise, how do you distinguish between a type that is a pointer-to-member vs. one that isn't?) You wouldn't. They'd be one and the same type. I don't see any reason for them to be distinguished. If OTOH you implement a pointer-to-member as an index into the vtbl, so that it calls the correct method implementation for the object's subclass, _then_ you need a distinct type for it. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8104] UFCS on opaque struct won't compile
http://d.puremagic.com/issues/show_bug.cgi?id=8104 --- Comment #6 from Kenji Hara k.hara...@gmail.com 2012-05-20 08:31:49 PDT --- (In reply to comment #5) @Kenji: When brought up on the forum there seemed to be consensus that this was a bug. http://forum.dlang.org/thread/rseaqsqosqrnirrcl...@forum.dlang.org Why should the act of function member lookup on an opaque struct necessarily be an error? It should only be an error if the member cannot be resolved. Prior to UFCS, there was no way to resolve function members outside of the struct itself, so it made sense to raise an error directly from the struct's search call. Because of function hijacking. At http://dlang.org/struct.html there is a section Opaque Structs and Unions. It says that the members of such a struct are hidden from the user. It's not clear on what hidden implies though. With respect to function members this documentation should be clarified: an opaque struct behaves as if it has no function members. No. opaque struct means may or may not have members, not has no members. They are different. Note that all the errors regarding forward reference are misleading. These structs not a forward reference, there are opaque. It's illegal to redefine an opaque struct: struct S; struct S { int foo; } // Error: struct S conflicts with struct S Given that, what are you trying to protect the user from by disallowing UFCS on these structs? I'd like to explain a use case. --- 1. module m_a has a struct S with members. module m_b imports m_a and use S. module m_a; struct S { void foo() { ... } ... } S* makeS() { ... } module m_b; void foo(S* ps) { ... } void main(){ auto ps = makeS(); ps.foo(); /* call S.foo */ } 2. S is changed to 'opaque struct'. (e.g. m_a is provided by hand-made di file.) module m_a; struct S; S* makeS(); 3. In module m_b, now ps.foo() accidently calls m_b.foo. --- Additionaly, current UFCS lookup mechanism is not completely defined/implemented. It's debated recently (See http://forum.dlang.org/thread/jl09ui$ii8$1...@digitalmars.com), so I wouldn't like to change/add lookup mechanism yet. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8125] New: TypeInstance dedunction problem
http://d.puremagic.com/issues/show_bug.cgi?id=8125 Summary: TypeInstance dedunction problem Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: k.hara...@gmail.com --- Comment #0 from Kenji Hara k.hara...@gmail.com 2012-05-20 09:27:23 PDT --- Following code should compile. void foo(){} struct X(alias a) {} //template Y(T : A!f, alias A, alias f) {} //OK template Y(T : A!foo, alias A) {} //NG void main() { alias Y!(X!foo) y; // Error: template instance Y!(X!(foo)) Y!(X!(foo)) // does not match template declaration Y(T : A!(foo),alias A) } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 1780] Type tuple deduction failure for class templates
http://d.puremagic.com/issues/show_bug.cgi?id=1780 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #1 from Kenji Hara k.hara...@gmail.com 2012-05-20 09:51:07 PDT --- https://github.com/D-Programming-Language/dmd/pull/958 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3608] Allow isExpression and templates to capture template parameters and FQN of template
http://d.puremagic.com/issues/show_bug.cgi?id=3608 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull, rejects-valid --- Comment #5 from Kenji Hara k.hara...@gmail.com 2012-05-20 09:51:48 PDT --- https://github.com/D-Programming-Language/dmd/pull/958 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8125] TypeInstance dedunction problem
http://d.puremagic.com/issues/show_bug.cgi?id=8125 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #1 from Kenji Hara k.hara...@gmail.com 2012-05-20 09:52:04 PDT --- https://github.com/D-Programming-Language/dmd/pull/958 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5930] cas doesn't work when used in code compiled with -D
http://d.puremagic.com/issues/show_bug.cgi?id=5930 d...@dawgfoto.de changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED --- Comment #9 from d...@dawgfoto.de 2012-05-20 12:21:43 PDT --- https://github.com/D-Programming-Language/druntime/commit/8257db0291e2866a6c9ed1f0048e65b57fc33ca1 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5930] cas doesn't work when used in code compiled with -D
http://d.puremagic.com/issues/show_bug.cgi?id=5930 d...@dawgfoto.de changed: What|Removed |Added CC||d...@dawgfoto.de --- Comment #8 from d...@dawgfoto.de 2012-05-20 12:21:25 PDT --- Doc functions shouldn't need a body at all. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3608] Allow isExpression and templates to capture template parameters and FQN of template
http://d.puremagic.com/issues/show_bug.cgi?id=3608 --- Comment #6 from github-bugzi...@puremagic.com 2012-05-20 12:48:06 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/b327dd61e685c85adfdceef0767b4a456350667b fix Issue 3608 - Allow isExpression and templates to capture template parameters and FQN of template https://github.com/D-Programming-Language/dmd/commit/ed68238cd1e5a7aec454840ee11e04580f974855 Merge pull request #958 from 9rnsr/fix_tided Issue 1780 3608 8125 - Fix TypeInstance deduction problems -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3780] getopt improvements by Igor Lesik
http://d.puremagic.com/issues/show_bug.cgi?id=3780 Alexey G golovanov_ale...@mail.ru changed: What|Removed |Added CC||golovanov_ale...@mail.ru --- Comment #6 from Alexey G golovanov_ale...@mail.ru 2012-05-20 14:05:16 PDT --- Any news? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 1780] Type tuple deduction failure for class templates
http://d.puremagic.com/issues/show_bug.cgi?id=1780 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution||FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3608] Allow isExpression and templates to capture template parameters and FQN of template
http://d.puremagic.com/issues/show_bug.cgi?id=3608 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution||FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8125] TypeInstance dedunction problem
http://d.puremagic.com/issues/show_bug.cgi?id=8125 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution||FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6926] std.process.system return wrong exit code
http://d.puremagic.com/issues/show_bug.cgi?id=6926 --- Comment #3 from github-bugzi...@puremagic.com 2012-05-20 14:49:54 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/41e6decef90b2f598b2e796a73ddfa34cb668566 Merge pull request #460 from quickfur/6926-process Code cleanup fix issue 6926 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8123] alias declaration lookup is broken
http://d.puremagic.com/issues/show_bug.cgi?id=8123 --- Comment #2 from github-bugzi...@puremagic.com 2012-05-20 14:54:15 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/76543ef60f3b871612ddc0c87999859f427ba6f9 fix Issue 8123 - alias declaration lookup is broken https://github.com/D-Programming-Language/dmd/commit/77422c31beae5db7d867c6611256482e07048f37 Merge pull request #957 from 9rnsr/fix8123 Issue 8123 - alias declaration lookup is broken -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4481] ICE(glue.c, !vthis-csym) or compiles, depending on the import statements order
http://d.puremagic.com/issues/show_bug.cgi?id=4481 Vladimir Panteleev thecybersha...@gmail.com changed: What|Removed |Added CC||thecybersha...@gmail.com --- Comment #6 from Vladimir Panteleev thecybersha...@gmail.com 2012-05-20 14:55:05 PDT --- Hit this again today (DMD git, also in 2.059). In case this bug got buried or thought to be fixed, I'll note that bugs 2692 and 2962 are both marked as fixed, so this bug isn't a duplicate of those. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7022] File.byLine doesn't release file handle
http://d.puremagic.com/issues/show_bug.cgi?id=7022 --- Comment #4 from github-bugzi...@puremagic.com 2012-05-20 15:34:22 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/f1566faeafec6715f227cb7d3bbe3af3737de4b3 fix issue 7022 fix issue 7831 detach sets p=null, which makes it kind of hard for the destructor to actually close the file or decrement the reference count. https://github.com/D-Programming-Language/phobos/commit/f41c9c48a7edca92fbc0f4f2bf81a7d99c79fcc2 Merge pull request #527 from mylodon/fix-issues-7831-7022 fix issue 7022 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7740] unicodeProperties cannot be read at compile time for ctRegex
http://d.puremagic.com/issues/show_bug.cgi?id=7740 --- Comment #1 from github-bugzi...@puremagic.com 2012-05-20 15:37:10 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/ab611521fa6c671139b6e1b651948e458faf4993 quick shot at ctRegex issue 7740 Stopped by issue 6419 CTFE nested structs ... not implemented https://github.com/D-Programming-Language/phobos/commit/d7ea3c808ded8ee44c8e2ac687febab9d577f15c Merge pull request #541 from blackwhale/ctRegex A quick shot at ctRegex issue 7740 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8026] Fix or disallow randomShuffle() on fixed-sized arrays
http://d.puremagic.com/issues/show_bug.cgi?id=8026 --- Comment #5 from github-bugzi...@puremagic.com 2012-05-20 15:40:25 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/76def7af856dfa898b78c0cf67228dac87dd4d83 Fix Issue# 8026. I added template constraints to all of the templates missing template constraints in std.random - including randomShuffle, per the bug. https://github.com/D-Programming-Language/phobos/commit/28bca62304c0ec21a9062b4dc4fcb64b80c1c5d8 Merge pull request #565 from jmdavis/8026 Fix issue 8026 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8113] alias this doesn't forward opCall
http://d.puremagic.com/issues/show_bug.cgi?id=8113 --- Comment #10 from github-bugzi...@puremagic.com 2012-05-20 16:34:51 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/3444b9cb5324d0b9e36282b9dc73b31f4c711ad8 fix Issue 8113 - alias this doesn't forward opCall https://github.com/D-Programming-Language/dmd/commit/417b793be589e95f923b54652ec408a106cbc7e6 Merge pull request #956 from 9rnsr/fix8133 Issue 8113 - alias this doesn't forward opCall -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8126] New: Internal corruption in DMD when built with MSVC++ (unless my version was just messed up...)
http://d.puremagic.com/issues/show_bug.cgi?id=8126 Summary: Internal corruption in DMD when built with MSVC++ (unless my version was just messed up...) Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: critical Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: wfunct...@hotmail.com --- Comment #0 from wfunct...@hotmail.com 2012-05-20 17:13:23 PDT --- When I try to compile the code below: import std.algorithm, std.file; void main() { foo(copy); } with a version 2.60 beta of DMD that I built with MSVC, I get back gibberish: Error: undefined identifier foo À+?hŸà‘¿;¢ð: Error: no overload matches for copy(Range1,Range2) if (isInputRange!(Range1) isOutputRange!(Range2,ElementType!(Range1))) It doesn't happen with the version of DMD that you build with DMC, though. I think it's a buffer overflow bug, unless my version just messed up... -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8127] New: dmd link library paths not given precedence over gcc defaults
http://d.puremagic.com/issues/show_bug.cgi?id=8127 Summary: dmd link library paths not given precedence over gcc defaults Product: D Version: D2 Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: j...@neggie.net --- Comment #0 from John Belmonte j...@neggie.net 2012-05-20 19:53:57 PDT --- Given a machine with globally installed D libraries such as phobos2 which appear in gcc's default library paths, dmd provides no way to supply a library path with higher precedence. Any -L-L/path/... given to dmd will have lower precedence. This makes it very difficult to manage local dmd installs, where it's essential to override any globally installed versions of the phobos2 library. Likewise for any third-party D libraries which one may be developing. I believe the problem stems from dmd's inconsistent use of the -Xlinker flag. The -l and -L link options exist in both native gcc and pass-through forms (latter by way of -Xlinker or -Wl. The dmd link line uses the gcc native form for -l, but the pass-through form for -L. This pattern appears to give precedence to gcc's default library paths during library searches. If link.c is changed to use native gcc options for both -l and -L, the library paths supplied to -L will be given precedence over gcc default paths. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8113] alias this doesn't forward opCall
http://d.puremagic.com/issues/show_bug.cgi?id=8113 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution||FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8126] Internal corruption in DMD when built with MSVC++ (unless my version was just messed up...)
http://d.puremagic.com/issues/show_bug.cgi?id=8126 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #1 from Walter Bright bugzi...@digitalmars.com 2012-05-20 22:06:48 PDT --- Why is this marked critical? Although people have submitted patches to support MSVC compilation of DMD, and those patches have been incorporated, testing of this build is not done and is not officially supported. In general, if you want to work with an MSVC built version of DMD, you'll need to be willing to chase down any failures in it. I'll be happy to accept pull requests to fix them. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8126] Internal corruption in DMD when built with MSVC++ (unless my version was just messed up...)
http://d.puremagic.com/issues/show_bug.cgi?id=8126 wfunct...@hotmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution||LATER --- Comment #2 from wfunct...@hotmail.com 2012-05-20 22:10:39 PDT --- I marked it as critical since it indicated a likely (buffer overflow?) bug in DMD... didn't know it wasn't supported though. Thanks for the info. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---