[Issue 17596] dmd d 2.073.2 and 2.074.1 interim generated dmd segfaults on FreeBSD 12-CURRENT

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17596 --- Comment #21 from Jonathan M Davis --- This adds version identifiers for the version of FreeBSD, which will make it possible to version OS bindings for the version of FreeBSD where necessary: https://github.com/dlang/dmd/pull/8567 --

[Issue 17596] dmd d 2.073.2 and 2.074.1 interim generated dmd segfaults on FreeBSD 12-CURRENT

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17596 Jonathan M Davis changed: What|Removed |Added CC||issues.dl...@jmdavisprog.co

[Issue 18788] static arrays with a length specified at runtime should dynamically allocate on the stack

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18788 Walter Bright changed: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #7 from

[Issue 19159] `alloca` does not work in -betterC

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19159 Walter Bright changed: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #1 from

[Issue 17019] std.algorithm.iteration.each should be usable with parallel

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17019 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|-

[Issue 17019] std.algorithm.iteration.each should be usable with parallel

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17019 --- Comment #1 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/3f44a4cd73a2c6423d4a49e3354b02a4acac2dfe Fix issue 17019 - std.algorithm.iteration.each should be

[Issue 19135] std.json : JSON_TYPE does not match D Style.

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19135 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|-

[Issue 19135] std.json : JSON_TYPE does not match D Style.

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19135 --- Comment #1 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/fbd094737fa1130ab53f7fcc17b36f8881e10790 Fix Issue 19135 Rewrite std.json.JSON_TYPE to be CamelCa

[Issue 19152] 2.081.1 getOverloads regression compiler bug

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19152 Richard Cattermole changed: What|Removed |Added Summary|2.081.1 Regression compiler |2.081.1 getOverloads

[Issue 19152] 2.081.1 Regression compiler bug

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19152 Mike Franklin changed: What|Removed |Added CC||alphaglosi...@gmail.com --- Comment #5 from

[Issue 19170] getOverloads with a pointer type seg faults (ICE)

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19170 Mike Franklin changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 19170] New: getOverloads with a pointer type seg faults (ICE)

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19170 Issue ID: 19170 Summary: getOverloads with a pointer type seg faults (ICE) Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: regression

[Issue 19101] Miscompilation on extern(C++) overloads with D types

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19101 --- Comment #4 from johanenge...@weka.io --- > Not sure if a dot can be used in typenames for C++ mangling. Good point. `a.A` should not be mangled as `a::A` (using the C++ namespace divider), because that then would clash with C++ types. I think it

[Issue 19101] Miscompilation on extern(C++) overloads with D types

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19101 --- Comment #3 from ki...@gmx.net --- (In reply to johanengelen from comment #2) > Currently we mangle extern(D) types as if they are extern(C++) types for > extern(C++) templated functions. Ah now I get it, I overlooked that the 2 structs are exter

[Issue 19152] 2.081.1 Regression compiler bug

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19152 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|-

[Issue 19152] 2.081.1 Regression compiler bug

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19152 --- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/9b637fc660c5f2e6610d0f967334f046eb4bdad7 Fix Issue 19152 - 2.081.1 Regression - Seg fault in traits.d

[Issue 19101] Miscompilation on extern(C++) overloads with D types

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19101 --- Comment #2 from johanenge...@weka.io --- > Assuming you suggest mangling `module mod; extern(C++) class C {};` as > `mod::C` No, of course not. I suggest mangling `module mod; class C {};` as `mod.C`. Currently we mangle extern(D) types as if t

[Issue 19169] [betterC] bogus TypeInfo error for `enum string[] a = ["a"]; auto aa = a;`

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19169 --- Comment #5 from Nicholas Wilson --- extern(C) void main() { immutable a = [1]; } works fine though. --

[Issue 19169] [betterC] bogus TypeInfo error for `enum string[] a = ["a"]; auto aa = a;`

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19169 --- Comment #4 from Nicholas Wilson --- This triggers for ints as well. extern(C) void main() { auto a = [1]; } same problem. --

[Issue 19169] [betterC] bogus TypeInfo error for `enum string[] a = ["a"]; auto aa = a;`

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19169 --- Comment #3 from Nicholas Wilson --- At the very least the error message should not suck. --

[Issue 19169] [betterC] bogus TypeInfo error for `enum string[] a = ["a"]; auto aa = a;`

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19169 Mike Franklin changed: What|Removed |Added CC||slavo5...@yahoo.com --- Comment #2 from Mike

[Issue 17707] unimported modules in libraries do not have their module constructors run

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17707 --- Comment #1 from John Colvin --- The same behaviour is observed when the library is made with dmd, when the linking is done with dmd, etc... Essentially dmd seems to be doing something different with the __modctor it gets from an object file or a

[Issue 13121] std.algorithm.joiner should return a bidirectional range if possible

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13121 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/e34f420ff1e52860772e2532fc73dcf6f8d47eb9 Fix Issue 13121 - std.algorithm.joiner should return a b

[Issue 13121] std.algorithm.joiner should return a bidirectional range if possible

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13121 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|-

[Issue 19169] [betterC] bogus TypeInfo error for `enum string[] a = ["a"]; auto aa = a;`

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19169 --- Comment #1 from Nicholas Wilson --- Interestingly enum a = ["a"]; __gshared auto aa = a; extern(C) void main() {} Passes compilation just fine. --

[Issue 19169] New: [betterC] bogus TypeInfo error for `enum string[] a = ["a"]; auto aa = a;`

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19169 Issue ID: 19169 Summary: [betterC] bogus TypeInfo error for `enum string[] a = ["a"]; auto aa = a;` Product: D Version: D2 Hardware: x86 OS: Mac OS X

[Issue 19167] Overzealous "Using this as a type is deprecated"

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19167 --- Comment #3 from ag0aep6g --- (In reply to John Colvin from comment #2) > How about this, which the compiler is OK with: > > struct A > { > alias a = int; > } > > struct B > { > A a; > alias b = a.a; > } > > I don't understand the l

[Issue 19167] Overzealous "Using this as a type is deprecated"

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19167 John Colvin changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID

[Issue 14001] Optionally @nogc std.random.randomCover

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14001 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|-

[Issue 14001] Optionally @nogc std.random.randomCover

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14001 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/3a212c0c72b7177a51dde9d4bbb5bbb5a9254a35 Fix Issue 14001 - Optionally `@nogc` std.random.randomCo

[Issue 18743] ConditionalExpression and AssignExpression should require parentheses

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18743 --- Comment #8 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dlang.org https://github.com/dlang/dlang.org/commit/fe4dd55a8a1f486d4db6f93b5fcc72a009367f36 Issue 18743 - ConditionalExpression with AssignExp

[Issue 19167] Overzealous "Using this as a type is deprecated"

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19167 ag0aep6g changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 7067] std.random.RandomSample and RandomCover are poorly designed

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7067 Nathan S. changed: What|Removed |Added See Also||https://issues.dlang.org/sh |

[Issue 19168] New: std.random.randomCover and randomSample should warn that struct RNGs are copied (original is not updated)

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19168 Issue ID: 19168 Summary: std.random.randomCover and randomSample should warn that struct RNGs are copied (original is not updated) Product: D Version: D2 Hardware: All

[Issue 19168] std.random.randomCover and randomSample should warn that struct RNGs are copied (original is not updated)

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19168 Nathan S. changed: What|Removed |Added See Also||https://issues.dlang.org/sh |

[Issue 18788] static arrays with a length specified at runtime should dynamically allocate on the stack

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18788 ZombineDev changed: What|Removed |Added CC||petar.p.ki...@gmail.com --- Comment #6 from Zom

[Issue 19167] New: Overzealous "Using this as a type is deprecated"

2018-08-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19167 Issue ID: 19167 Summary: Overzealous "Using this as a type is deprecated" Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Pr