[Issue 23913] __traits(getMember) fails for some C symbols

2023-05-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23913

Dlang Bot  changed:

   What|Removed |Added

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

--- Comment #3 from Dlang Bot  ---
dlang/dmd pull request #15234 "fix Issue 23913 - __traits(getMember) fails for
some C symbols" was merged into stable:

- 441885f9e5f329219c7de3a3e98da0ed8912dd20 by Walter Bright:
  fix Issue 23913 - __traits(getMember) fails for some C symbols

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

--


[Issue 23912] Destructor disables scope inference

2023-05-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23912

Dlang Bot  changed:

   What|Removed |Added

   Keywords||pull

--- Comment #1 from Dlang Bot  ---
@RazvanN7 created dlang/dmd pull request #15239 "Fix Issue 23912 - Destructor
disables scope inference" fixing this issue:

- Fix Issue 23912 - Destructor disables scope inference

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

--


[Issue 23914] "auto ref" resolution on return value prevented by noreturn (bottom type)

2023-05-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23914

Dlang Bot  changed:

   What|Removed |Added

   Keywords||pull

--- Comment #3 from Dlang Bot  ---
@RazvanN7 created dlang/dmd pull request #15240 "Fix Issue 23914 - auto ref
resolution on return value prevented by noreturn" fixing this issue:

- Fix Issue 23914 - auto ref resolution on return value prevented by noreturn

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

--


[Issue 23915] Instance method properties not evaluated when passed to template value argument

2023-05-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23915

RazvanN  changed:

   What|Removed |Added

 CC||razvan.nitu1...@gmail.com

--- Comment #1 from RazvanN  ---
This doesn't seem to have anything to do with property. This yields the same
result:

```
template T(bool value) {}

bool getValue() { return true; }
alias Inst1 = T!(getValue); // OK

struct S2 { static bool getValue() { return true; } } 
alias Inst2 = T!(S2.getValue); // OK

struct S3 { bool getValue() { return true; } }  
alias Inst = T!(S3().getValue); // Error
```

--


[Issue 23885] [CI] C++ interop tests with g++ fail

2023-05-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23885

--- Comment #5 from Dlang Bot  ---
dlang/dmd pull request #15238 "merge stable" was merged into master:

- 30bc65203c12536bceab4a361dae4aa2e81a104f by Dennis:
  Fix Issue 23885 - Rearranging the commands makes the crypto operations not
fail (#15210)

  Co-authored-by: mhh 

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

--


[Issue 20737] TLS variables unusable with -betterC for Windows MSVC targets

2023-05-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20737

--- Comment #9 from Dlang Bot  ---
dlang/dmd pull request #15238 "merge stable" was merged into master:

- 3072e43d2b60a85b219c7572557c0e367e8d4a88 by Rainer Schuetze:
  fix issues 20737 and 23014 - TLS variables unusable with -betterC/importC for
Windows MSVC targets (#15170)

  always generate access via __tls_index

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

--


[Issue 23905] Initialization of SumType with opaque enum causes ICE

2023-05-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23905

--- Comment #5 from Dlang Bot  ---
dlang/dmd pull request #15238 "merge stable" was merged into master:

- 2a650f7609f579d026b6f363b4ad3ed9e162984e by Razvan Nitu:
  Fix Issue 23905 - Initialization of SumType with opaque enum causes ICE
(#15207)

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

--


[Issue 23882] ICE (segfault) on nasty alias this code

2023-05-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23882

--- Comment #3 from Dlang Bot  ---
dlang/dmd pull request #15238 "merge stable" was merged into master:

- 9d5f960b1fd718d7494dd43f5c954b8fc0fe0808 by Razvan Nitu:
  Fix Issue 23882 -  ICE (segfault) on nasty alias this code (#15177)

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

--


[Issue 23874] -profile=gc segfaults / ICE regression

2023-05-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23874

--- Comment #10 from Dlang Bot  ---
dlang/dmd pull request #15238 "merge stable" was merged into master:

- 6d0a9a5607b945dc45cfb22a0d6be16e063cece8 by RazvanN7:
  Fix Issue 23874 - -profile=gc segfaults / ICE regression

- f467b2607400c0ff015be4d9da121baa7ef9adab by Razvan Nitu:
  Fix Issue 23874 - -profile=gc segfaults / ICE regression (#15179)

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

--


[Issue 23873] [ICE] segfault on imported `static if ; else auto x`

2023-05-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23873

--- Comment #3 from Dlang Bot  ---
dlang/dmd pull request #15238 "merge stable" was merged into master:

- c2f8f32de55ec635e65d8451a6a805f2f3ac5b2f by Razvan Nitu:
  Fix Issue 23873 - [ICE] segfault on imported static if ; else auto x (#15168)

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

--


[Issue 23014] importC: static thread-locals do not work

2023-05-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23014

--- Comment #4 from Dlang Bot  ---
dlang/dmd pull request #15238 "merge stable" was merged into master:

- 3072e43d2b60a85b219c7572557c0e367e8d4a88 by Rainer Schuetze:
  fix issues 20737 and 23014 - TLS variables unusable with -betterC/importC for
Windows MSVC targets (#15170)

  always generate access via __tls_index

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

--


[Issue 22760] Segmentation fault in CppMangleVisitor.template_arg

2023-05-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22760

--- Comment #3 from Dlang Bot  ---
dlang/dmd pull request #15238 "merge stable" was merged into master:

- 4a4adcd81a5df451abc2b8f9c47111edca0c1082 by Razvan Nitu:
  Fix Issue 22760 - Segmentation fault in CppMangleVisitor.template_arg
(#15099)

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

--


[Issue 23913] __traits(getMember) fails for some C symbols

2023-05-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23913

--- Comment #4 from Dlang Bot  ---
dlang/dmd pull request #15238 "merge stable" was merged into master:

- 16ec7b681bf314b42a685428ce91d3234459405f by Walter Bright:
  fix Issue 23913 - __traits(getMember) fails for some C symbols (#15234)

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

--


[Issue 23915] Instance method properties not evaluated when passed to template value argument

2023-05-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23915

--- Comment #2 from RazvanN  ---
I've tried to entangle what happens here, but the behavior is a bit puzzling.
It turns out that free functions and static member functions are considered
types when instantiating the template, but the `S3().getValue` is considered an
expression. On the expression path of the code, since the () are missing, this
is seen as just refering to the symbol `getValue` not actually calling it.
Resolving `getValue` to a function fixes the issue but it makes other parts of
the template instantiation mechanism fail, so I'm stuck at this point. There's
just too much context that I'm missing: I have no idea why `S2.getValue` or
`getValue` are treated as types in this scenario. They must be resolved somehow
later to their corresponding expressions.

--


[Issue 23880] ImportC: __attribute__((vector_size(N))) is not implemented

2023-05-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23880

--- Comment #4 from Dlang Bot  ---
dlang/dmd pull request #15223 "Revert "[CI] Revert "fix Issue 23875 23880"""
was merged into master:

- 350848201f8590096c042767d3aa2d976bb3c1f2 by Walter Bright:
  Revert "Revert "fix Issue 23875 23880 (#15172)" (#15196)"

  This reverts commit 7da93174959de0c459f8c43fe9359b4794f6cada.

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

--


[Issue 23875] ImportC: __attribute__ in a cast doesn't work

2023-05-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23875

--- Comment #4 from Dlang Bot  ---
dlang/dmd pull request #15223 "Revert "[CI] Revert "fix Issue 23875 23880"""
was merged into master:

- 350848201f8590096c042767d3aa2d976bb3c1f2 by Walter Bright:
  Revert "Revert "fix Issue 23875 23880 (#15172)" (#15196)"

  This reverts commit 7da93174959de0c459f8c43fe9359b4794f6cada.

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

--


[Issue 23912] Destructor disables scope inference

2023-05-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23912

Dlang Bot  changed:

   What|Removed |Added

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

--- Comment #2 from Dlang Bot  ---
dlang/dmd pull request #15239 "Fix Issue 23912 - Destructor disables scope
inference" was merged into master:

- 40853c826e70ae9ca5c46775ef944d2e8361a191 by RazvanN7:
  Fix Issue 23912 - Destructor disables scope inference

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

--