Bug 23995 – Cannot declare out parameter of opaque type

Status
RESOLVED
Resolution
INVALID
Severity
minor
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2023-06-16T12:37:41Z
Last change time
2023-06-16T13:58:19Z
Keywords
pull
Assigned to
No Owner
Creator
Dennis

Comments

Comment #0 by dkorpel — 2023-06-16T12:37:41Z
Same as Issue 21668, but for `out` instead of `ref`
Comment #1 by dlang-bot — 2023-06-16T12:39:12Z
@dkorpel created dlang/dmd pull request #15330 "Fix 23995 - Cannot declare out parameter of opaque type" fixing this issue: - Fix 23995 - Cannot declare out parameter of opaque type https://github.com/dlang/dmd/pull/15330
Comment #2 by dkorpel — 2023-06-16T13:58:19Z
Nevermind, `out` variables are initialized with `.init` upon function invocation, which requires a definition