[Issue 22102] importC: Error: function is used as a type

2021-07-08 Thread d-bugmail--- via Digitalmars-d-bugs
|--- |FIXED --- Comment #3 from Dlang Bot --- dlang/dmd pull request #12834 "fix Issue 22102 - importC: Error: function is used as a type" was merged into master: - 56dc76a677315f9bfefeac08c46ed1bf923898d8 by Iain Buclaw: fix Issue 22102 - importC: Error: function is used as a t

[Issue 22102] importC: Error: function is used as a type

2021-07-07 Thread d-bugmail--- via Digitalmars-d-bugs
--- @ibuclaw created dlang/dmd pull request #12834 "fix Issue 22102 - importC: Error: function is used as a type" fixing this issue: - fix Issue 22102 - importC: Error: function is used as a type https://github.com/dlang/dmd/pull/12834 --

[Issue 22102] importC: Error: function is used as a type

2021-07-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22102 Iain Buclaw changed: What|Removed |Added Keywords||rejects-valid --

[Issue 22102] importC: Error: function is used as a type

2021-07-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22102 --- Comment #1 from Iain Buclaw --- Similar to issue 21992. While the rewrite could be handled by DeclarationExp semantic. There's no way to know that the original declaration had parenthesis around the variable name. e.g: If

[Issue 22102] importC: Error: function is used as a type

2021-07-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22102 Iain Buclaw changed: What|Removed |Added Keywords||ImportC CC|