[Issue 6553] Better const(char[]) !-> string error message
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Dec 11 07:18:04 PST 2014
https://issues.dlang.org/show_bug.cgi?id=6553
Kenji Hara <k.hara.pg at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #4 from Kenji Hara <k.hara.pg at gmail.com> ---
In general, D's type system does not allow implicit conversion from
'const(char[])' to 'string', so I'm not sure the way to provide "better" error
diagnostic.
So I close this issue as 'invalid'. If you have concrete example of the
compiler output, please comment it and reopen this issue.
--
More information about the Digitalmars-d-bugs
mailing list