← Back to index
|
Original Bugzilla link
Bug 1389 – Can't use mixin expressions when start of a statement.
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2007-07-31T13:03:00Z
Last change time
2014-02-16T15:25:49Z
Keywords
patch, rejects-valid
Assigned to
nobody
Creator
aziz.koeksal
Comments
Comment #0
by aziz.koeksal — 2007-07-31T13:03:30Z
int a; mixin("a") = 666; // Error: found '=' when expecting ';' (mixin("a") = 999); // workaround
Comment #1
by k.hara.pg — 2011-04-16T19:29:03Z
Patch posted.
https://github.com/D-Programming-Language/dmd/pull/31
Comment #2
by bugzilla — 2011-04-16T23:55:57Z
https://github.com/D-Programming-Language/dmd/commit/b520d11d37208be51bb999a15dfa735b5f032fed
https://github.com/D-Programming-Language/dmd/commit/852c73f618d004fa8f3a5461b6c501310fc54bda