*** This issue has been marked as a duplicate of issue 22407 ***
Comment #2 by dlang-bot — 2021-10-18T07:51:07Z
dlang/dmd pull request #13182 "fix Issue 22407 - importC: Error: cannot implicitly convert expression of type 'extern (C) int(int a)' to 'const(extern (C) int function(int))'" was merged into stable:
- 16565e5d4714b8412f247c2debf209c6d6b1a71d by Iain Buclaw:
fix Issue 22399 - importC: Error: static variable cannot be read at compile time
https://github.com/dlang/dmd/pull/13182
Comment #3 by dlang-bot — 2021-10-21T21:39:31Z
dlang/dmd pull request #13209 "Merge stable into master" was merged into master:
- 58e4db98807ba9834f79ca4585afb103e7da0b38 by Iain Buclaw:
fix Issue 22399 - importC: Error: static variable cannot be read at compile time
https://github.com/dlang/dmd/pull/13209