[Issue 6163] New: std.bigint: x.opBinary(y) is not an lvalue
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jun 15 17:44:11 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6163
Summary: std.bigint: x.opBinary(y) is not an lvalue
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Keywords: rejects-valid
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at eml.cc 2011-06-15 17:39:30 PDT ---
DMD 2.053:
import std.bigint;
void main() {
BigInt x = 20;
BigInt y = 1;
bool result = (x == (x * y));
}
It gives:
temp.d(5): Error: x.opBinary(y) is not an lvalue
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list