| Thread overview |
|---|
May 12, 2022 [Issue 23104] case where use of mixin() is rejected but use of the mixin content as code is not | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23104 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|case where use of mixin() |case where use of mixin() |is rejected but use of the |is rejected but use of the |mixin content as code does |mixin content as code is | |not -- | ||||
May 12, 2022 [Issue 23104] case where use of mixin() is rejected but use of the mixin content as code is not | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23104 --- Comment #1 from Basile-z <b2.temp@gmx.com> --- actually compilation fails/succeeds only depending on is(mixin(getMember)==module VS is(__traits(getMember, sym, m)==module -- | ||||
May 12, 2022 [Issue 23104] case where use of mixin() is rejected but use of the mixin content as code is not | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23104 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|rejects-valid |accepts-invalid Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #2 from Basile-z <b2.temp@gmx.com> --- also the version that compiles should not alias _ = printMembers!(mixin(getMember), m); but printMembers takes only one template type parameter -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply