[Mono-list] ADV: Thinking in C# Release Candidate Ebook Available
Larry O'Brien
lobrien@email.com
Thu, 21 Nov 2002 00:33:27 +0800
> > >>From the C# spec, I believe that the sample program: <BR>> > <BR>> > char c = (char) 1; <BR>> > <BR>> > c <<= 1; <BR>> > <BR>> > Should not compile according to the C# spec, and that the Microsoft <BR>> > compiler is more lax than it should be. <BR>> <BR>> Ok, I had a look at the spec and this indeed looks like a bug <BR>> in csc. The issue is that people are going to depend on the <BR>> csc bugs in a way or the other, sigh. What if we emit a <BR>> warning in this case? Something like: <BR><BR>In a small way, putting an issue like this in a book intended for a wider audience than the spec can help. Can anyone give me a fairly explicit reference to the relevant text in the spec? I will call it out in Thinking in C#. <BR>
--
<p>_______________________________________________<br>
Sign-up for your own FREE Personalized E-mail at <a href="http://www.mail.com/?sr=signup" target="_new"><font color="#0000FF"> Mail.com</font></a></p>