[Issue 785] Make 'cent' and 'ucent' syntactically valid pending implementation

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 1 04:44:52 PST 2012


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



--- Comment #25 from yebblies <yebblies at gmail.com> 2012-02-01 23:44:50 EST ---
(In reply to comment #24)
> Moreover, when we finally get the types, there will still be users on older
> compilers (DM or third-party, possibly commercial), even some on platforms for
> which an up-to-date compiler is not yet available, who can't compile other
> people's code because it uses syntax that is still illegal in the version they
> have.  The sooner this issue is dealt with, the less risk of this happening.

This is unlikely to ever be a problem.  D2 compilers break enough code (wrong
or not) between versions that using one a couple of releases old probably won't
compile your code anyway.  Of course, this will hopefully change in the future.

The bigger issue that makes this less of a waste of time is that D compiler
with different backends, or running on different backends, may choose not to
implement cent/ucent, and if they do this in the parser then the code will be
non-portable.  The proposed patch is a much more correct solution to this
problem.

Regardless, there is a patch for this issue already out there which is waiting
for review.  I don't think discussing it further at this point will achieve
anything.

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