[Issue 22969] Can't mixin name of manifest constant on right-hand side of alias declaration
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Apr 8 06:59:55 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=22969
--- Comment #5 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #13962 "merge stable" was merged into master:
- 3dd97695a3a17f3df5356bae96b11be0f0784d12 by Boris Carvajal:
Fix Issue 22969 - Can't mixin name of manifest constant on right-handside of
alias declaration (#13946)
Remove an unnecessary `typeToExpression` conversion call that forced `mixin`
to
be resolved via expression semantic (expanding enum constants when it
shouldn't).
This was a change I wanted to make some time ago but an early error somewhere
in the type semantic prevented me (fixed here).
Also a duplicated code in `traits.d` to handle mixins is removed (it was a
copy
of `typesem.d:compileTypeMixin` function).
https://github.com/dlang/dmd/pull/13962
--
More information about the Digitalmars-d-bugs
mailing list