March 20, 2013 [Issue 9765] New: Error message with __error with struct literal dotvar expression | ||||
---|---|---|---|---|
| ||||
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@puremagic.com ReportedBy: clugdbug@yahoo.com.au --- Comment #0 from Don <clugdbug@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: ------- |
Copyright © 1999-2021 by the D Language Foundation