1389 – Can't use mixin expressions when start of a statement.

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 1389 - Can't use mixin expressions when start of a statement.
Summary: Can't use mixin expressions when start of a statement.
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D1 (retired)
Hardware: x86 Linux
: P2 normal
Assignee: No Owner
URL:
Keywords: patch, rejects-valid
Depends on:
Blocks:
Reported: 2007年07月31日 13:03 UTC by Aziz Köksal
Modified: 2014年02月16日 15:25 UTC (History)
2 users (show)

See Also:


Attachments
Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this issue.
Description Aziz Köksal 2007年07月31日 13:03:30 UTC
int a;
mixin("a") = 666; // Error: found '=' when expecting ';'
(mixin("a") = 999); // workaround
Comment 1 Kenji Hara 2011年04月16日 19:29:03 UTC
Patch posted.
https://github.com/D-Programming-Language/dmd/pull/31 


AltStyle によって変換されたページ (->オリジナル) /