http://d.puremagic.com/issues/show_bug.cgi?id=5810

           Summary: BigInt++ 'no effect' problem
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: bearophile_h...@eml.cc


--- Comment #0 from bearophile_h...@eml.cc 2011-04-03 16:33:07 PDT ---
import std.bigint;
struct Foo {
    BigInt x;
    void bar() { x++; }
}
void main() {}


DMD 2.052 shows:

test.d(4): Error: var has no effect in expression (__tmp19)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to