← Back to index
|
Original Bugzilla link
Bug 21933 – importC: struct parameters: AssertError@src/dmd/typesem.d(1890): Assertion failure
Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-05-20T10:56:45Z
Last change time
2021-05-28T00:32:47Z
Keywords
ice-on-valid-code, ImportC, pull
Assigned to
No Owner
Creator
Iain Buclaw
Comments
Comment #0
by ibuclaw — 2021-05-20T10:56:45Z
Structs cannot be used as function parameters. --- struct STRUCT { void *opaque; }; int fun(struct STRUCT *); ---
Comment #1
by dlang-bot — 2021-05-27T21:44:55Z
@ibuclaw created dlang/dmd pull request #12598 "Add tests for importC issues 21933, 21965, 21968, 21973." fixing this issue: - fix Issue 21933 - importC: struct parameters: AssertError@src/dmd/typesem.d(1890): Assertion failure
https://github.com/dlang/dmd/pull/12598
Comment #2
by dlang-bot — 2021-05-28T00:32:47Z
dlang/dmd pull request #12598 "Add tests for importC issues 21933, 21965, 21968, 21973." was merged into master: - 3bb5d2b21758741d41bd27f41f58156d479b82ec by Iain Buclaw: fix Issue 21933 - importC: struct parameters: AssertError@src/dmd/typesem.d(1890): Assertion failure
https://github.com/dlang/dmd/pull/12598