http://bugzilla.gdcproject.org/show_bug.cgi?id=66
Bug #: 66
Summary: Post/Pre increment expressions don't work in lhs.
Classification: Unclassified
Product: GDC
Version: development
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gdc
AssignedTo: [email protected]
ReportedBy: [email protected]
eg:
void main()
{
int pos = 0;
while (true)
{
++pos -= 1;
assert (pos == 0);
}
}
or
void main()
{
int pos = 0;
while (true)
{
++pos %= 4;
assert (pos != 4);
}
}
--
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.