[Issue 22407] importC: Error: cannot implicitly convert expression of type 'extern (C) int(int a)' to 'const(extern (C) int function(int))'

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 18 07:51:09 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=22407

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Dlang Bot <dlang-bot at dlang.rocks> ---
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:

- 66d742d0e93c666616e35ac3faf2cb617a8374cf by Iain Buclaw:
  fix Issue 22407 - importC: Error: cannot implicitly convert expression of
type 'extern (C) int(int a)' to 'const(extern (C) int function(int))'

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

--


More information about the Digitalmars-d-bugs mailing list