[Issue 20088] void[] cast unusable in betterC due to new __ArrayCast template

2019-08-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20088

Dlang Bot  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #2 from Dlang Bot  ---
dlang/druntime pull request #2705 "Make TempStringNoAlloc a template" was
merged into stable:

- 12f046d6cb903ebc073e55c507f8b24950899a1e by Sebastiaan Koppe:
  fix Issue 20088 - Make TempStringNoAlloc a template

https://github.com/dlang/druntime/pull/2705

--


[Issue 20109] New: DirEntries() fails on symbolic links to non-existent file

2019-08-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20109

  Issue ID: 20109
   Summary: DirEntries() fails on symbolic links to non-existent
file
   Product: D
   Version: D2
  Hardware: x86_64
OS: Linux
Status: NEW
  Severity: enhancement
  Priority: P1
 Component: phobos
  Assignee: nob...@puremagic.com
  Reporter: cka...@gmail.com

DirEntries() fails on symbolic links to non-existent file. I just had this bug
show up.

 - I'm making a program that scans all the files in a path and computes their
hashes. DirEntries keeps exploding on a random symlink on my hard drive.

 - I passed "false" to "followSymlink" in DirEntries(), but it still fails
regardless and throws an exception. 

 - The reason I believe, is that this random spurious file (cmt_drv.la) I have
is a symlink to "../cmt_drv.la", and that file doesn't exist. 

output:
-

commandline args:
0 ./dup
1 /home/novous/Downloads/DOWNLOADS BUFFER/xf86-input-cmt/src/.libs/

object.Exception@std/file.d(3219): Failed to stat file
`/home/novous/Downloads/DOWNLOADS BUFFER/xf86-input-cmt/src/.libs/cmt_drv.la'

??:? pure @safe void
std.exception.bailOut!(Exception).bailOut(immutable(char)[], ulong,
const(char[])) [0x6cdb691e]
??:? pure @safe bool std.exception.enforce!(Exception, bool).enforce(bool, lazy
const(char)[], immutable(char)[], ulong) [0x6cd9f9e1]
??:? @trusted void std.file.DirEntry._ensureStatDone() [0x6cd772ee]
??:? @property @safe ulong std.file.DirEntry.size() [0x6cd7713c]
??:? _Dmain [0x6cd58c81]

on github here:

https://github.com/dlang/phobos/blob/master/std/file.d#L3979

It appears "stat" is failing.

This might be key: I'm trying to run sort!("a.size > b.size") on the returned
DirEntries, and while sorting it calls .size() which then invokes the stat
command.

This program works fine until I ran into this edge-case. I can provide code
snippets and clarification as needed. 

Thanks,
--Chris

--


[Issue 20033] alias this does not support `deprecated` attribute

2019-08-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20033

Dlang Bot  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #6 from Dlang Bot  ---
dlang/dmd pull request #10267 " Fix issue 20033 - Deprecation do not trigger on
`alias this`" was merged into master:

- c4f9506ab766bf4f3a747b45e7e646b64be96de6 by Geod24:
  Fix issue 20033 - Deprecation do not trigger on `alias this`

  Before this change, `deprecated` on `alias this` was accepted by the parser
  but silently ignored in semantic - as `Dsymbol` is never `deprecated`,
  it is done through `Declaration` and derivatives
  (`Dsymbol` does not have `storage_class`).

  This fixes `alias this` to correctly trigger a deprecation message on usage.

https://github.com/dlang/dmd/pull/10267

--


[Issue 18350] simple hello world crashes with segfault

2019-08-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18350

anonymous4  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #3 from anonymous4  ---
Guess, the same issue.

*** This issue has been marked as a duplicate of issue 19116 ***

--


[Issue 19116] dmd compiles binary but segfaults immediately when run on Ubuntu / Debian 32Bit architectures

2019-08-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19116

anonymous4  changed:

   What|Removed |Added

 CC||dfj1es...@sneakemail.com

--- Comment #12 from anonymous4  ---
*** Issue 18350 has been marked as a duplicate of this issue. ***

--


[Issue 19116] dmd compiles binary but segfaults immediately when run on Ubuntu / Debian 32Bit architectures

2019-08-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19116

anonymous4  changed:

   What|Removed |Added

 CC||dl...@eckner.net

--- Comment #11 from anonymous4  ---
*** Issue 17833 has been marked as a duplicate of this issue. ***

--


[Issue 17833] compiling dmd on x86 linux fails

2019-08-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17833

anonymous4  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #11 from anonymous4  ---


*** This issue has been marked as a duplicate of issue 19116 ***

--


[Issue 19116] dmd compiles binary but segfaults immediately when run on Ubuntu / Debian 32Bit architectures

2019-08-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19116

anonymous4  changed:

   What|Removed |Added

 CC||kravchuk3...@gmail.com

--- Comment #10 from anonymous4  ---
*** Issue 20102 has been marked as a duplicate of this issue. ***

--


[Issue 20102] Comp

2019-08-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20102

anonymous4  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #4 from anonymous4  ---


*** This issue has been marked as a duplicate of issue 19116 ***

--


[Issue 20081] Add pragma(identifier, StringExp)

2019-08-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20081

--- Comment #5 from Manu  ---
mixin would be fine in that context... but it might look a little bit weird?

--