[Issue 14137] std.socket.getAddressInfo breaks @safety
https://issues.dlang.org/show_bug.cgi?id=14137 David Nadlinger c...@klickverbot.at changed: What|Removed |Added Severity|enhancement |major --- Comment #1 from David Nadlinger c...@klickverbot.at --- Actually a permalink now: https://github.com/D-Programming-Language/phobos/blob/041db2d8fac2b1cf5169be7188ea537a01f27586/std/socket.d#L996-L997 --
[Issue 14139] GIT HEAD : PI now has wrong value
https://issues.dlang.org/show_bug.cgi?id=14139 Vladimir Panteleev thecybersha...@gmail.com changed: What|Removed |Added CC||thecybersha...@gmail.com --- Comment #1 from Vladimir Panteleev thecybersha...@gmail.com --- I can't reproduce this... --
[Issue 4650] Static data that must be scanned by the GC should be grouped
https://issues.dlang.org/show_bug.cgi?id=4650 Rainer Schuetze r.sagita...@gmx.de changed: What|Removed |Added CC||r.sagita...@gmx.de --- Comment #3 from Rainer Schuetze r.sagita...@gmx.de --- There is a minimal support for this for ELF object files: strings and some floating point constants are emitted to the .text segment. --
[Issue 4650] Static data that must be scanned by the GC should be grouped
https://issues.dlang.org/show_bug.cgi?id=4650 --- Comment #4 from Rainer Schuetze r.sagita...@gmx.de --- Similar functionality for COFF and OMF: https://github.com/D-Programming-Language/dmd/pull/4390 --
[Issue 14140] New: Bad codegen when variable used as default argument
https://issues.dlang.org/show_bug.cgi?id=14140 Issue ID: 14140 Summary: Bad codegen when variable used as default argument Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: critical Priority: P1 Component: DMD Assignee: nob...@puremagic.com Reporter: temta...@gmail.com http://dpaste.dzfl.pl/f87326091fa6 --
[Issue 14139] New: GIT HEAD : PI now has wrong value
https://issues.dlang.org/show_bug.cgi?id=14139 Issue ID: 14139 Summary: GIT HEAD : PI now has wrong value Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: regression Priority: P1 Component: DMD Assignee: nob...@puremagic.com Reporter: temta...@gmail.com import std.math; import std.stdio; void main() { writeln(PI); } With latest GIT HEAD prints 1.4488e+19 --
[Issue 14131] va_copy is broken on posix X86_64
https://issues.dlang.org/show_bug.cgi?id=14131 --- Comment #3 from yebblies yebbl...@gmail.com --- The partial fix makes the original test case work, but this one should still fail. void copyb(ref va_list ap2, va_list ap) { va_copy(ap2, ap); } void copya(int a, string format, ...) { va_list ap; va_start(ap, format); va_list ap2; copyb(ap2, ap); auto a1 = va_arg!int(ap); auto a2 = va_arg!int(ap); auto a3 = va_arg!int(ap); assert(a1 == 0x); assert(a2 == 0x); assert(a3 == 0x); auto b1 = va_arg!int(ap2); auto b2 = va_arg!int(ap2); auto b3 = va_arg!int(ap2); assert(b1 == 0x); assert(b2 == 0x); assert(b3 == 0x); va_end(ap); va_end(ap2); } void testCopy() { copya(0, , 0x, 0x, 0x); } --
[Issue 14131] va_copy is broken on posix X86_64
https://issues.dlang.org/show_bug.cgi?id=14131 --- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/143f780fa6d5fd692d25b8f8318c73f5722616b9 Add test case for Issue 14131 - va_copy is broken on posix X86_64 https://github.com/D-Programming-Language/dmd/commit/97f5400129a489b31f4378cf9a1776ba0debc4b3 Merge pull request #4385 from yebblies/va_copy Add test case for Issue 14131 - va_copy is broken on posix X86_64 --
[Issue 14131] va_copy is broken on posix X86_64
https://issues.dlang.org/show_bug.cgi?id=14131 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/ee94dbddf7700a5e5864d485e66002e31e6fa670 Partial fix for Issue 14131 - va_copy is broken on posix X86_64 https://github.com/D-Programming-Language/druntime/commit/02270ea991f4218764d2c2cc867c56f082672d4c Merge pull request #1158 from yebblies/va_copy Partial fix for Issue 14131 - va_copy is broken on posix X86_64 --
[Issue 14140] Bad codegen when variable used as default argument
https://issues.dlang.org/show_bug.cgi?id=14140 --- Comment #1 from Temtaime temta...@gmail.com --- This bug exists with GIT HEAD too. --
[Issue 14139] GIT HEAD : PI now has wrong value
https://issues.dlang.org/show_bug.cgi?id=14139 --- Comment #2 from Temtaime temta...@gmail.com --- The bug exists only on Windows when dmd is built with /GL, /LTCG compiler optimization options. 2.066 compiles and runs successfully with these options. --
[Issue 14115] Copy dlang.org's look and feel to the wiki
https://issues.dlang.org/show_bug.cgi?id=14115 --- Comment #1 from Zach the Mystic reachz...@gmail.com --- I wasn't able to find the code which affects the look and feel of the wiki, to play around with it. Hopefully it's easily changeable. For background, some selected (and modified) quotes from the link above: IMO, the most important thing *is* the Wiki, but a newcomer might not know that, so they must be told. If I try to decide the best link for them I'll just be duplicating the effort done on the Wiki page. Just send people to the Wiki. It has the best current information about what to do and where to go. I think the Wiki should be the main place to go to get information on D. Dlang.org should be concise and formal, containing only the more permanent information. D doesn't have a wealthy funder to pay for building a single unified website experience. I'm follow the evidence. Dlang.org should say, regarding the Wiki, If you can't beat 'em, join 'em. And by referring people there to begin with, more effort will be put into it... Please compare the Wiki to dlang.org. I don't think dlang.org can keep up. That said... we should copy the look-and-feel from dlang to the Wiki, so it feels like the same website, creating the illusion of unity. --
[Issue 14115] Copy dlang.org's look and feel to the wiki
https://issues.dlang.org/show_bug.cgi?id=14115 Vladimir Panteleev thecybersha...@gmail.com changed: What|Removed |Added CC||thecybersha...@gmail.com --- Comment #2 from Vladimir Panteleev thecybersha...@gmail.com --- (In reply to Zach the Mystic from comment #1) I wasn't able to find the code which affects the look and feel of the wiki, to play around with it. Hopefully it's easily changeable. If you can create a MediaWiki skin, I can review and add it. I would like to ask, however, that it copies as little code from dlang.org as possible, and instead integrates with the makefile to produce the necessary skin files. This is to minimize future maintenance effort for inevitable future dlang.org changes. --
[Issue 14124] BigInt %= int can return -0
https://issues.dlang.org/show_bug.cgi?id=14124 --- Comment #1 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/1cabeac6da6ce691a31bf4654179f222a0956137 Fix Issue 14124 - BigInt %= int can return -0 https://github.com/D-Programming-Language/phobos/commit/9f6e1c33be2001bb44cfcb53f78441b75eb1c718 Merge pull request #2959 from e10s/patch-7 Fix Issue 14124 - BigInt %= int can return -0 --
[Issue 14124] BigInt %= int can return -0
https://issues.dlang.org/show_bug.cgi?id=14124 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --
[Issue 14104] aa with pointer key type doesn't find existing value
https://issues.dlang.org/show_bug.cgi?id=14104 --- Comment #4 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/13d0da1e7ec9a02bf7757e6d1cf6470f59cf6ff5 Merge pull request #4389 from rainers/issue14104 fix issue 14104 - nuke getInternalTypeInfo --
[Issue 14141] New: `pure` member function returning qualified member result is implicitly convertible to unqualified
https://issues.dlang.org/show_bug.cgi?id=14141 Issue ID: 14141 Summary: `pure` member function returning qualified member result is implicitly convertible to unqualified Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: accepts-invalid Severity: major Priority: P1 Component: DMD Assignee: nob...@puremagic.com Reporter: verylonglogin@gmail.com This code should compile: --- struct S { Object obj; const(Object) getObj() const pure { return obj; } } void main() { const S s; static assert(is(typeof(s.getObj()) == const Object)); // ok static assert(!__traits(compiles, { Object o = s.getObj(); })); // fails } --- As a result such function compiles but shouldn't: --- Object f(const Object o) { const S s = { obj: o }; return s.getObj(); } --- This results in type system breakage. --
[Issue 14142] New: combine standard ddoc-umentation and wiki-style editing on single pages
https://issues.dlang.org/show_bug.cgi?id=14142 Issue ID: 14142 Summary: combine standard ddoc-umentation and wiki-style editing on single pages Product: D Version: unspecified Hardware: x86 OS: All Status: NEW Severity: enhancement Priority: P1 Component: websites Assignee: nob...@puremagic.com Reporter: reachz...@gmail.com For me, the power of wiki-style editing is pretty convincing. It seems generally agreed that what documentation can be easily edited, should be. Existing in-code documentation requires the review process, which is at odds with the lightning quick way a wiki page is normally changed. This enhancement proposes an intermediate solution to the problem. Each std function, for example, will have a top (or bottom) window which formats and copies the existing embedded ddoc-umentation, while at the bottom (or top) providing a freestyle wiki window. Editing the embedded docs from the wiki page will still be a little clunky like it is now (with the improve this page button), because of github pulls and the review process, but editing the wiki window will harness the power of wiki. In other words, you shouldn't have to click Page wiki to get to the wiki, and no Wiki page should exclude what's already in the ddocs. The documentation and the wiki should be the same page, while working around the existing barriers to accomplishing this. The transition could be piecemeal, with a wiki window being merged onto the dlang.org page one function at a time, or, conversely, with links to functions with wiki pages somehow overriding the default dlang.org page. Basically, I want everyone to be on the same page (pun intended). --
[Issue 14139] GIT HEAD : PI now has wrong value
https://issues.dlang.org/show_bug.cgi?id=14139 Orvid King blah38...@gmail.com changed: What|Removed |Added CC||blah38...@gmail.com --- Comment #3 from Orvid King blah38...@gmail.com --- Which version of MSVC? I use a 64-bit DMD compiled by MSVC 2010 with link-time code gen (/LTCG) and whole program optimization (/GL), and have no issues here. Is it possible that you've changed the floating point model in your build to something other than precise (/fp:precise)? --
[Issue 14143] New: signals: SIGWINCH, SIGSYS, SIGSTKFLT, SIGPWR missing
https://issues.dlang.org/show_bug.cgi?id=14143 Issue ID: 14143 Summary: signals: SIGWINCH, SIGSYS, SIGSTKFLT, SIGPWR missing Product: D Version: D2 Hardware: Other OS: Linux Status: NEW Severity: minor Priority: P1 Component: druntime Assignee: nob...@puremagic.com Reporter: danny.m...@gmail.com Some of the signal numbers are missing in druntime. I needed SIGWINCH and on the occassion checked and updated all the Linux signal definitions. --
[Issue 14124] BigInt %= int can return -0
https://issues.dlang.org/show_bug.cgi?id=14124 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/1cabeac6da6ce691a31bf4654179f222a0956137 Fix Issue 14124 - BigInt %= int can return -0 https://github.com/D-Programming-Language/phobos/commit/9f6e1c33be2001bb44cfcb53f78441b75eb1c718 Merge pull request #2959 from e10s/patch-7 --
[Issue 14126] GITHEAD - GC seemingly corrupting memory
https://issues.dlang.org/show_bug.cgi?id=14126 --- Comment #20 from github-bugzi...@puremagic.com --- Commits pushed to https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/21aba9efeaf9eacd7da3d2585519b083355b9b78 Fixed issue 14126 -- Used wrong constant for offset when finalizing a large array. https://github.com/D-Programming-Language/druntime/commit/1c5aef8b9d58718b633d2a45ca09b5f9dd1ab6bc Merge pull request #1159 from schveiguy/issue14126 --
[Issue 7151] [CTFE] cannot compare classes with ==
https://issues.dlang.org/show_bug.cgi?id=7151 --- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/8a3ea8160d940dc22916cbd3e18e5eb19ece8b28 mostly fix Issue 7151 - [CTFE] cannot compare classes with == https://github.com/D-Programming-Language/druntime/commit/8c13443c436a453e01c6319f74e2e6d54f44a547 Merge pull request #916 from NilsBossung/7151 --
[Issue 14131] va_copy is broken on posix X86_64
https://issues.dlang.org/show_bug.cgi?id=14131 --- Comment #5 from github-bugzi...@puremagic.com --- Commits pushed to https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/ee94dbddf7700a5e5864d485e66002e31e6fa670 Partial fix for Issue 14131 - va_copy is broken on posix X86_64 https://github.com/D-Programming-Language/druntime/commit/02270ea991f4218764d2c2cc867c56f082672d4c Merge pull request #1158 from yebblies/va_copy --
[Issue 14059] Formatted write with wrong formatting string
https://issues.dlang.org/show_bug.cgi?id=14059 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/806361692978e538ed782287d796e58b2ed5b8df Issue 14059 - Formatted write with wrong formatting string https://github.com/D-Programming-Language/phobos/commit/3299c63e7500e6eeb9f5f3c9f8f3ec501fde6064 Merge pull request #2958 from sinkuu/fix_14059_format --
[Issue 12153] Ternary operator on static array lvalues creates copy
https://issues.dlang.org/show_bug.cgi?id=12153 --- Comment #8 from github-bugzi...@puremagic.com --- Commits pushed to https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/bdb30977e7084d1c496c7b386203af8dd33eea0d Move fix Issue 12153 to frontend https://github.com/D-Programming-Language/dmd/commit/e62c349db2f20f8ea709314bcbca16540c6cfc35 Merge pull request #4062 from ibuclaw/fix12153 --
[Issue 14143] signals: SIGWINCH, SIGSYS, SIGSTKFLT, SIGPWR missing
https://issues.dlang.org/show_bug.cgi?id=14143 --- Comment #1 from Danny Milosavljevic danny.m...@gmail.com --- https://github.com/D-Programming-Language/druntime/pull/1161 --
[Issue 14130] [REG2.067a] ICE following error in template parameter default value
https://issues.dlang.org/show_bug.cgi?id=14130 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/5dd31fa1a3118e7cd522e6a3400957b31ecbed71 fix Issue 14130 - ICE following error in template parameter default value https://github.com/D-Programming-Language/dmd/commit/f51b7bb77de736bce051b1c1556b17e53e51b99f Merge pull request #4386 from 9rnsr/fix14130 --
[Issue 13952] [REG2.067a] change in struct ctor lowering triggers codegen bug
https://issues.dlang.org/show_bug.cgi?id=13952 --- Comment #9 from github-bugzi...@puremagic.com --- Commits pushed to https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/e5f21beb82acade73900aa50a0e092b3935e980b fix Issue 13952 - change in struct ctor lowering triggers codegen bug https://github.com/D-Programming-Language/dmd/commit/2ebb60303208768adfa29d29f11f7fc8c95fffa7 Merge pull request #4387 from 9rnsr/fix13952 --
[Issue 14123] cannot compare typeid(object.Object) at compile time
https://issues.dlang.org/show_bug.cgi?id=14123 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/3c195275a852d4aff6e33454cc700e2687898a01 fix Issue 14123 - cannot compare typeid(object.Object) at compile time https://github.com/D-Programming-Language/dmd/commit/ae5fffaa6ea81f5a0665e6f848615dfe0ada Merge pull request #4383 from 9rnsr/fix14123 --
[Issue 14104] aa with pointer key type doesn't find existing value
https://issues.dlang.org/show_bug.cgi?id=14104 --- Comment #5 from github-bugzi...@puremagic.com --- Commit pushed to https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/13d0da1e7ec9a02bf7757e6d1cf6470f59cf6ff5 Merge pull request #4389 from rainers/issue14104 --
[Issue 14131] va_copy is broken on posix X86_64
https://issues.dlang.org/show_bug.cgi?id=14131 --- Comment #6 from github-bugzi...@puremagic.com --- Commits pushed to https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/143f780fa6d5fd692d25b8f8318c73f5722616b9 Add test case for Issue 14131 - va_copy is broken on posix X86_64 https://github.com/D-Programming-Language/dmd/commit/97f5400129a489b31f4378cf9a1776ba0debc4b3 Merge pull request #4385 from yebblies/va_copy --
[Issue 14115] Copy dlang.org's look and feel to the wiki
https://issues.dlang.org/show_bug.cgi?id=14115 --- Comment #3 from Zach the Mystic reachz...@gmail.com --- Okay I'll start investigating how to make MediaWiki skins. Is there already a MediaWiki skin on the dlang.org repo somewhere, or will it be a whole new thing? --
[Issue 14115] Copy dlang.org's look and feel to the wiki
https://issues.dlang.org/show_bug.cgi?id=14115 --- Comment #4 from Vladimir Panteleev thecybersha...@gmail.com --- It will have to be a new thing. I did experiment with creating a skin, before the redesign, but this was for an old skinning API, and I never did get very far. I should note that I have plans to do this eventually, as I'll need to update the forum anyway as well, but feel free to take the initiative. --
[Issue 14115] Copy dlang.org's look and feel to the wiki
https://issues.dlang.org/show_bug.cgi?id=14115 --- Comment #6 from Zach the Mystic reachz...@gmail.com --- Found this: https://git.wikimedia.org/tree/mediawiki%2Fskins.git A good a place as any, I guess. --
[Issue 14115] Copy dlang.org's look and feel to the wiki
https://issues.dlang.org/show_bug.cgi?id=14115 --- Comment #9 from Vladimir Panteleev thecybersha...@gmail.com --- (In reply to Zach the Mystic from comment #5) I'm looking around for some public source code to *any* WikiMedia installation, so I can learn from it. Do you know of one? I think there's some naming confusion. The software is called MediaWiki. WikiMedia is the organization that maintains it and runs Wikipedia. https://www.mediawiki.org/wiki/Download --
[Issue 13963] BigInt modulo ulong is rejected
https://issues.dlang.org/show_bug.cgi?id=13963 --- Comment #7 from e10s electrolysis.j...@gmail.com --- Issue 14124 - BigInt %= int can return -0 --
[Issue 14145] opDispatch should be considered over UFCS
https://issues.dlang.org/show_bug.cgi?id=14145 Timothee Cour timothee.co...@gmail.com changed: What|Removed |Added CC||timothee.co...@gmail.com --- Comment #2 from Timothee Cour timothee.co...@gmail.com --- I forgot to mention: the naked 'writeln' was intentional in this bug report. the error occurs when the template body of opDispatch is not compilable (eg as in the example, import std.stdio is missing). The correct behavior IMO should be to say: error : could not resolve writeln. Furthermore to counter your argument saying this is not a bug: replace 'void fun(){}' by 'void foo(A a){}' now it compiles whereas is shouldn't. --
[Issue 14145] opDispatch should be considered over UFCS
https://issues.dlang.org/show_bug.cgi?id=14145 Adam D. Ruppe destructiona...@gmail.com changed: What|Removed |Added CC||destructiona...@gmail.com --- Comment #1 from Adam D. Ruppe destructiona...@gmail.com --- Not a bug (though a common mistake that the compiler offers zero help with) - you forgot to import std.stdio, so the opDispatch didn't compile and that's why it wasn't considered. --
[Issue 14146] New: [REG2.067a] ICE with non-empty default constructor in struct
https://issues.dlang.org/show_bug.cgi?id=14146 Issue ID: 14146 Summary: [REG2.067a] ICE with non-empty default constructor in struct Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: ice-on-invalid-code Severity: regression Priority: P1 Component: DMD Assignee: nob...@puremagic.com Reporter: sinkuup...@gmail.com Compiling the code below causes ICE. This is a regression introduced in https://github.com/D-Programming-Language/dmd/pull/4281 struct RangeT(A) { A[1] outer; } struct Array { this() { } alias Range = RangeT!Array; bool opEquals(Array) { } } % dmd -c t.d t.d(8): Error: constructor t.Array.this default constructor for structs only allowed with @disable and no body dmd: template.c:2593: FuncDeclaration* TemplateDeclaration::doHeaderInstantiation(TemplateInstance*, Scope*, FuncDeclaration*, Type*, Expressions*): Assertion `fd-type-ty == Tfunction' failed. --
[Issue 4650] Static data that must be scanned by the GC should be grouped
https://issues.dlang.org/show_bug.cgi?id=4650 --- Comment #5 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/e649c64e0e8215ee322458d8ae67e37c114d7d66 Merge pull request #4390 from rainers/const_section issue 4650 - write strings/float constants to const section --
[Issue 14145] opDispatch not considered when function body doesn't compile
https://issues.dlang.org/show_bug.cgi?id=14145 Timothee Cour timothee.co...@gmail.com changed: What|Removed |Added Summary|opDispatch should be|opDispatch not considered |considered over UFCS|when function body doesn't ||compile --
[Issue 14146] [REG2.067a] ICE with non-empty default constructor in struct
https://issues.dlang.org/show_bug.cgi?id=14146 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords|ice-on-invalid-code |ice, pull --- Comment #1 from Kenji Hara k.hara...@gmail.com --- https://github.com/D-Programming-Language/dmd/pull/4391 --
[Issue 14115] Copy dlang.org's look and feel to the wiki
https://issues.dlang.org/show_bug.cgi?id=14115 --- Comment #7 from Zach the Mystic reachz...@gmail.com --- (In reply to Zach the Mystic from comment #6) Found this: https://git.wikimedia.org/tree/mediawiki%2Fskins.git A good a place as any, I guess. Erg! The view button is deactivated on these. --
[Issue 14145] opDispatch should be considered over UFCS
https://issues.dlang.org/show_bug.cgi?id=14145 --- Comment #3 from Adam D. Ruppe destructiona...@gmail.com --- Yeah, I agree that would be nice. And actually the docs don't say what should happen when opDispatch fails to compile http://dlang.org/operatoroverloading.html#dispatch so ok, now I agree with you, but I think it should be retitled to focus on just the opDispatch, the ufcs is unrelated. If it fails to compile it will say no such property which has the same root cause and is equally unhelpful. --
[Issue 14144] New: opAssign seems broken in master
https://issues.dlang.org/show_bug.cgi?id=14144 Issue ID: 14144 Summary: opAssign seems broken in master Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: regression Priority: P1 Component: DMD Assignee: nob...@puremagic.com Reporter: deadal...@gmail.com As per dustmite : struct JSON { union { double _floating; } this(typeof(null) ) { } @trusted pure nothrow typeof(null) opAssign(typeof(null) nothing) { return null; } } unittest { JSON[string] x; x[wat] = null; } $ ../dmd/src/dmd json.d -unittest json.d(20): Error: incompatible types for ((x[wat].opAssign(null)) : (x[wat] = JSON , x[wat].this(null))): 'typeof(null)' and 'JSON' It work on the release and is breaking SDC. --
[Issue 14144] [REG2.067a] opAssign seems broken
https://issues.dlang.org/show_bug.cgi?id=14144 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #2 from Kenji Hara k.hara...@gmail.com --- https://github.com/D-Programming-Language/dmd/pull/4392 --
[Issue 14115] Copy dlang.org's look and feel to the wiki
https://issues.dlang.org/show_bug.cgi?id=14115 --- Comment #8 from Vladimir Panteleev thecybersha...@gmail.com --- Just download MediaWiki. It comes with some skins included. http://www.mediawiki.org/wiki/Manual:Skinning --
[Issue 14115] Copy dlang.org's look and feel to the wiki
https://issues.dlang.org/show_bug.cgi?id=14115 --- Comment #5 from Zach the Mystic reachz...@gmail.com --- I'm looking around for some public source code to *any* WikiMedia installation, so I can learn from it. Do you know of one? --
[Issue 14145] New: opDispatch should be considered over UFCS
https://issues.dlang.org/show_bug.cgi?id=14145 Issue ID: 14145 Summary: opDispatch should be considered over UFCS Product: D Version: D2 Hardware: x86_64 OS: Mac OS X Status: NEW Severity: critical Priority: P1 Component: DMD Assignee: nob...@puremagic.com Reporter: timothee.co...@gmail.com dmd -c -o- main.d main.d(7): Error: function main.foo () is not callable using argument types (A) void foo(){} struct A{ auto opDispatch(string op)() { writeln; } } void test(){ A.init.foo(); } --
[Issue 14144] [REG2.067a] opAssign seems broken
https://issues.dlang.org/show_bug.cgi?id=14144 sinkuup...@gmail.com changed: What|Removed |Added Keywords||rejects-valid CC||sinkuup...@gmail.com Hardware|x86_64 |All Summary|opAssign seems broken in|[REG2.067a] opAssign seems |master |broken OS|Linux |All --- Comment #1 from sinkuup...@gmail.com --- Introduced in https://github.com/D-Programming-Language/dmd/pull/4366 --
[Issue 14145] opDispatch not considered when function body doesn't compile
https://issues.dlang.org/show_bug.cgi?id=14145 --- Comment #4 from Timothee Cour timothee.co...@gmail.com --- You're right that UFCS is not root cause; i've updated the title. indeed, if we remove 'void foo' entirely it errors with Error: no property 'foo' for type 'A' instead of erroring with what it should: main.d(13): Error: 'writeln' is not defined, perhaps you need to import std.stdio; ? main.d(22): Error: template instance main.A.opDispatch!(foo) error instantiating --