← Back to index
|
Original Bugzilla link
Bug 9765 – Error message with __error with struct literal dotvar expression
Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-03-20T02:09:00Z
Last change time
2013-11-18T17:18:47Z
Keywords
diagnostic
Assigned to
nobody
Creator
clugdbug
Comments
Comment #0
by clugdbug — 2013-03-20T02:09:45Z
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)
Comment #1
by k.hara.pg — 2013-11-18T04:42:44Z
With 2.064: test.d(2): Error: cannot implicitly convert expression ('x') of type char to char[]
Comment #2
by github-bugzilla — 2013-11-18T08:42:10Z
Commit pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/4ac3cd35d11752f640402752bed2cf5f6970989c
fix Issue 9765 - Error message with __error with struct literal dotvar expression