[Issue 1969] ICE(cod1.c) using undefined operator with one const operand

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue May 19 01:01:53 PDT 2009


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


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug at yahoo.com.au
            Summary|Internal error:             |ICE(cod1.c) using undefined
                   |..\ztc\cod1.c 1662          |operator with one const
                   |                            |operand




--- Comment #1 from Don <clugdbug at yahoo.com.au>  2009-05-19 01:01:53 PDT ---
Simplified test case

struct Bar{ }

const(Bar) baz() { return Bar(); }

void foo() {
  Bar result = Bar() + baz();
}

-- 
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