char buf[1]; void fn() { char c = *buf; } Error: using `*` on an array is no longer supported; use `*(buf).ptr` instead
@WalterBright created dlang/dmd pull request #13843 "fix Issue 22892 - importC: dereferencing array as pointer is not supp…" fixing this issue: - fix Issue 22892 - importC: dereferencing array as pointer is not supported https://github.com/dlang/dmd/pull/13843
dlang/dmd pull request #13843 "fix Issue 22892 - importC: dereferencing array as pointer is not supp…" was merged into master: - 6c0a8d51e64962c4d9a76a707b117b8948d0f72a by Walter Bright: fix Issue 22892 - importC: dereferencing array as pointer is not supported https://github.com/dlang/dmd/pull/13843