[Issue 14348] New: typeof(x).ident is not accepted as a symbol
https://issues.dlang.org/show_bug.cgi?id=14348 Issue ID: 14348 Summary: typeof(x).ident is not accepted as a symbol Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: rejects-valid Severity: normal Priority: P1 Component: DMD Assignee: nob...@puremagic.com Reporter: yebbl...@gmail.com I don't see any reason why this shouldn't work: class B { int foo() { return 0; } } class C : B { override int foo() { return 1; } alias superfoo = typeof(super).foo; alias thisfoo = typeof(this).foo; } void main() { assert(B.foo is C.superfoo); assert(C.foo is C.thisfoo); } The current implementation requires the typeof(a).b expression evaluates to both a type and a symbol, when only a symbol is required. --
[Issue 12152] Cannot forward reference subclass member in superclass
https://issues.dlang.org/show_bug.cgi?id=12152 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --
[Issue 12152] Cannot forward reference subclass member in superclass
https://issues.dlang.org/show_bug.cgi?id=12152 --- Comment #2 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/91dd1ff1ec207d3510fc12808e8166c3f80dab05 fix Issue 12152 - Cannot forward reference subclass member in superclass https://github.com/D-Programming-Language/dmd/commit/a17015aa5d0dbd2a0e1eca68067cb7f81ba48e32 Merge pull request #4469 from 9rnsr/fix12152 Issue 12152 - Cannot forward reference subclass member in superclass --
[Issue 14320] Improve diagnostic message for undefined identifier error
https://issues.dlang.org/show_bug.cgi?id=14320 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --
[Issue 14348] typeof(x).ident is not accepted as a symbol
https://issues.dlang.org/show_bug.cgi?id=14348 yebblies yebbl...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #1 from yebblies yebbl...@gmail.com --- https://github.com/D-Programming-Language/dmd/pull/4521 --
[Issue 14320] Improve diagnostic message for undefined identifier error
https://issues.dlang.org/show_bug.cgi?id=14320 --- Comment #2 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/6d4c8492fb3c9879b918560afbb29133625ca122 fix Issue 14320 - Improve diagnostic message for undefined identifier error https://github.com/D-Programming-Language/dmd/commit/36059423f3b4a839455d6cc42c560ee33ce353fb Merge pull request #4510 from 9rnsr/fix14320 Issue 14320 - Improve diagnostic message for undefined identifier error --
[Issue 10925] unittests qualified on the right hand side fail
https://issues.dlang.org/show_bug.cgi?id=10925 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC||bugzi...@digitalmars.com Severity|normal |enhancement --- Comment #4 from Walter Bright bugzi...@digitalmars.com --- This is an enhancement request, not a bug. --
[Issue 14322] Menu on downloads.dlang.org is completely broken
https://issues.dlang.org/show_bug.cgi?id=14322 Jacob Carlborg d...@me.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --
[Issue 14349] New: String imports with subpaths don't work on Windows
https://issues.dlang.org/show_bug.cgi?id=14349 Issue ID: 14349 Summary: String imports with subpaths don't work on Windows Product: D Version: D2 Hardware: All OS: Windows Status: NEW Severity: normal Priority: P1 Component: DMD Assignee: nob...@puremagic.com Reporter: thecybersha...@gmail.com echo pragma(msg, import(\a/b.txt\)); test.d mkdir a echo aoeu a/b.txt dmd -o- -J. test.d Works on Linux. On Windows, complains: test.d(1): Error: file a/b.txt cannot be found or not in a path specified with -J test.d(1):while evaluating pragma(msg, import(a/b.txt)) --
[Issue 14350] New: Unit test failures are not displayed in Windows GUI programs
https://issues.dlang.org/show_bug.cgi?id=14350 Issue ID: 14350 Summary: Unit test failures are not displayed in Windows GUI programs Product: D Version: D2 Hardware: All OS: Windows Status: NEW Severity: normal Priority: P1 Component: druntime Assignee: nob...@puremagic.com Reporter: thecybersha...@gmail.com Forum thread: http://forum.dlang.org/post/laoqugqszpkkoyavg...@forum.dlang.org The unit test runner uses its own code to print the exception instead of reusing printThrowable. --
[Issue 14350] Unit test failures are not displayed in Windows GUI programs
https://issues.dlang.org/show_bug.cgi?id=14350 Vladimir Panteleev thecybersha...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #1 from Vladimir Panteleev thecybersha...@gmail.com --- https://github.com/D-Programming-Language/druntime/pull/1200 --
[Issue 14349] String imports with subpaths don't work on Windows
https://issues.dlang.org/show_bug.cgi?id=14349 bb.t...@gmx.com changed: What|Removed |Added CC||bb.t...@gmx.com --
[Issue 9826] import doesn't work with absolute paths
https://issues.dlang.org/show_bug.cgi?id=9826 Vladimir Panteleev thecybersha...@gmail.com changed: What|Removed |Added CC||thecybersha...@gmail.com --- Comment #5 from Vladimir Panteleev thecybersha...@gmail.com --- String-importing absolute paths to arbitrary files are forbidden by design, to prevent programs from capturing arbitrary files from the filesystem during compilation. The bug is that the compiler should realize that the absolute path, in fact, points to a file that is under the allowed string import path (-J.). --
[Issue 14232] redundant attribute 'const'
https://issues.dlang.org/show_bug.cgi?id=14232 --- Comment #21 from github-bugzi...@puremagic.com --- Commit pushed to stable at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/9edd2223950b919a201cf104601f877283cca2bf Merge pull request #4458 from mihails-strasuns-sociomantic/redundant-attrib-deprec [REG] fix Issue 14232 : redundant attribute 'const' --
[Issue 14343] Postfix increment doesn't work on structs with immutable member
https://issues.dlang.org/show_bug.cgi?id=14343 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull, rejects-valid Hardware|x86 |All --- Comment #2 from Kenji Hara k.hara...@gmail.com --- https://github.com/D-Programming-Language/dmd/pull/4522 --
[Issue 14351] New: `inout` base class constructor can't be called
https://issues.dlang.org/show_bug.cgi?id=14351 Issue ID: 14351 Summary: `inout` base class constructor can't be called Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: rejects-valid Severity: normal Priority: P1 Component: DMD Assignee: nob...@puremagic.com Reporter: verylonglogin@gmail.com This code should compile fine: --- class B { this(inout int[]) inout { } } class D1: B { this(int[] arr) { super(arr); } } class D2: B { this(const int[] arr) const { super(arr); } } class D3: B { this(inout int[] arr) inout { super(arr); } } --- main.d(8): Error: inout constructor main.B.this creates mutable object, not mutable main.d(13): Error: inout constructor main.B.this creates const object, not const main.d(18): Error: inout constructor main.B.this creates inout object, not inout --- --
[Issue 12228] Identifiers 'this' and 'super' should not be allowed as base classes
https://issues.dlang.org/show_bug.cgi?id=12228 --- Comment #7 from yebblies yebbl...@gmail.com --- With issue 14348 fixed, all cases from issue 2540 should be replaceable with typeof(this/super). I think we should seriously consider deprecating and eventually removing this behavior. eg Warning: Using 'this' as a type is deprecated, use 'typeof(this)' instead --
[Issue 4149] refs displayed as pointers in gdb
https://issues.dlang.org/show_bug.cgi?id=4149 --- Comment #20 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/2f4715db31e59f9514f14b704e6b3bee706a7900 test for Issue 4149 - refs displayed as pointers in gdb https://github.com/D-Programming-Language/dmd/commit/f562afe18d20c6f8ecc838e450b7bb439a878c11 Merge pull request #4523 from MartinNowak/test4149 test for Issue 4149 - refs displayed as pointers in gdb --
[Issue 14348] typeof(x).ident is not accepted as a symbol
https://issues.dlang.org/show_bug.cgi?id=14348 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --
[Issue 14348] typeof(x).ident is not accepted as a symbol
https://issues.dlang.org/show_bug.cgi?id=14348 --- Comment #2 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/a10cb266a31c30bc3afd5d50ad629dc75dd2649f Fix Issue 14348 - typeof(x).ident is not accepted as a symbol Instead of evaluating as a type and then converting to a symbol, re-use the resolve logic to find the symbol. https://github.com/D-Programming-Language/dmd/commit/a902948fa353111aa6ed11a2717d8d2d0a438c98 Merge pull request #4521 from yebblies/issue14348 Issue 14348 - typeof(x).ident is not accepted as a symbol --
[Issue 7176] Lambda = syntax for function and methods too
https://issues.dlang.org/show_bug.cgi?id=7176 --- Comment #19 from Ketmar Dark ket...@ketmar.no-ip.org --- Created attachment 1499 -- https://issues.dlang.org/attachment.cgi?id=1499action=edit working PoC with samples --
[Issue 4620] C++ constructor and template mangling, C++ ABI patch
https://issues.dlang.org/show_bug.cgi?id=4620 Paul O'Neil redballoo...@gmail.com changed: What|Removed |Added Keywords||C++ CC||redballoo...@gmail.com --- Comment #4 from Paul O'Neil redballoo...@gmail.com --- It looks like the template mangling has been superceeded by other development. Is the construct part still relevant? --
[Issue 13183] C++ namespace should not conflict with import root package
https://issues.dlang.org/show_bug.cgi?id=13183 --- Comment #3 from Paul O'Neil redballoo...@gmail.com --- Yes, that does work. Thanks for the workaround. I'm now a lot less concerned about this but still think it should remain open. --