[Issue 9765] New: Error message with __error with struct literal dotvar expression

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Mar 20 02:09:49 PDT 2013


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

           Summary: Error message with __error with struct literal dotvar
                    expression
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: clugdbug at yahoo.com.au


--- Comment #0 from Don <clugdbug at yahoo.com.au> 2013-03-20 02:09:45 PDT ---
struct S9765 { char[] x; }
const S9765 s9765 = S9765('x');
const char s9765b = s9765.x;

jj.d(3): Error: cannot implicitly convert expression ('x') of type char to
char[]
jj.d(4): Error: cannot implicitly convert expression ((__error).x) of type
const(char[]) to const(char)

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