[Issue 1351] Discrepancies in the language specification

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jul 27 08:07:15 PDT 2007


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


smjg at iname.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg at iname.com




------- Comment #5 from smjg at iname.com  2007-07-27 10:07 -------
(In reply to comment #4)
> "[...]
> Otherwise, it resolves to the type with the smallest size it will fit into."
> 
> Which type does a character literal with an HTML entity have (e.g. '\&xyz;')?

The last sentence you've quoted makes it seem clear to me.

> Please clarify if this correct:
> 
> uint c;
> // statements ...
> if (c < 128)
>   // c is char

If c is a uint, then c is a uint.  But what you seem to mean by it seems right
to me.


-- 



More information about the Digitalmars-d-bugs mailing list