[Issue 18412] [REG2.077.0] immutable array in library becomes null when referenced in static constructor

2020-09-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18412 --- Comment #9 from Dlang Bot --- dlang/dmd pull request #11759 "merge stable" was merged into master: - d1344a33cf293bea0c048498d0ffcc5460ba2c3e by Walter Bright: fix Issue 18412 - [REG2.077.0] immutable array in library becomes

[Issue 18412] [REG2.077.0] immutable array in library becomes null when referenced in static constructor

2020-09-11 Thread d-bugmail--- via Digitalmars-d-bugs
|--- |FIXED --- Comment #8 from Dlang Bot --- dlang/dmd pull request #11695 "fix Issue 18412 - [REG2.077.0] immutable array in library becomes nul…" was merged into stable: - c737edf822e5dd3a48875a5eb704b94852dd6925 by Walter Bright: fix Issue 18412 - [REG2.077.0] immutable array

[Issue 18412] [REG2.077.0] immutable array in library becomes null when referenced in static constructor

2020-09-05 Thread d-bugmail--- via Digitalmars-d-bugs
--- @WalterBright created dlang/dmd pull request #11695 "fix Issue 18412 - [REG2.077.0] immutable array in library becomes nul…" fixing this issue: - fix Issue 18412 - [REG2.077.0] immutable array in library becomes null when referenced in static constructor https://github.com/dlang/dmd/pull/11695 --

[Issue 18412] [REG2.077.0] immutable array in library becomes null when referenced in static constructor

2020-09-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18412 --- Comment #6 from Walter Bright --- Actually, that's wrong. dmd -lib m2.d puts two object files in the library, m2.obj and m2_1_66.obj. The second one is the missing code - but it's reference to keywords should be an extern, but is not, just

[Issue 18412] [REG2.077.0] immutable array in library becomes null when referenced in static constructor

2020-09-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18412 --- Comment #5 from Walter Bright --- If I create the .obj file with: dmd -c m2 and link the program works. If I create it with: dmd -lib m2 lib m2 *m2.obj; and link the program fails. Examining the two object files, the entire

[Issue 18412] [REG2.077.0] immutable array in library becomes null when referenced in static constructor

2020-08-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18412 Walter Bright changed: What|Removed |Added Keywords||backend CC|

[Issue 18412] [REG2.077.0] immutable array in library becomes null when referenced in static constructor

2018-02-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18412 --- Comment #4 from Martin Nowak --- (In reply to Nicholas Wilson from comment #3) > Hmm all dmd backend code? > I wonder what the cause of null delegates with LDC is then? Dare to bisect LDC? Or at least figure out which ldc version

[Issue 18412] [REG2.077.0] immutable array in library becomes null when referenced in static constructor

2018-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18412 --- Comment #3 from Nicholas Wilson --- (In reply to Martin Nowak from comment #2) > Digger says > https://github.com/dlang/dmd/commit/959ef5f2d0b5d796b77c30e89948ae798c3e159d. Hmm all dmd backend code? I wonder what

[Issue 18412] [REG2.077.0] immutable array in library becomes null when referenced in static constructor

2018-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18412 Martin Nowak changed: What|Removed |Added Priority|P1 |P5 CC|

[Issue 18412] [REG2.077.0] immutable array in library becomes null when referenced in static constructor

2018-02-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18412 Nicholas Wilson changed: What|Removed |Added CC|