Bug 22627 – Wrong mixin template ctor causes "Error: unknown, please file report on issues.dlang.org"

Status
NEW
Severity
minor
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2021-12-23T19:08:07Z
Last change time
2024-12-13T19:20:07Z
Assigned to
No Owner
Creator
feklushkin.denis
Moved to GitHub: dmd#20030 →

Comments

Comment #0 by feklushkin.denis — 2021-12-23T19:08:07Z
class Test { mixin __ctorBody; immutable mixin __ctorBody; private mixin template __ctorBody() { this(){} } } void main() { auto c = new shared Test(); }
Comment #1 by robert.schadek — 2024-12-13T19:20:07Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/20030 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB