Bug 21948 – importC: Support declaring local variables of typedef types

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-05-21T17:40:08Z
Last change time
2021-05-26T20:13:05Z
Keywords
ImportC, rejects-valid
Assigned to
No Owner
Creator
Iain Buclaw

Comments

Comment #0 by ibuclaw — 2021-05-21T17:40:08Z
This does not compile. -- typedef int myint; void fun() { myint var = 12; }
Comment #1 by ibuclaw — 2021-05-26T12:48:25Z
Comment #2 by dlang-bot — 2021-05-26T20:13:05Z
dlang/dmd pull request #12590 "fix Issue 21948 - importC: Support declaring local variables of typedef types" was merged into master: - a5e6ccdec0700ab4fc36b29bde57d733e00b983a by Iain Buclaw: fix Issue 21948 - importC: Support declaring local variables of typedef types https://github.com/dlang/dmd/pull/12590