> >
> > char c = (char) 1;
> >
> > c <<= 1;
> >
> > Should not compile according to the C# spec, and that the Microsoft
> > compiler is more lax than it should be.
>
> Ok, I had a look at the spec and this indeed looks like a bug
> in csc. The issue is that people are going to depend on the
> csc bugs in a way or the other, sigh. What if we emit a
> warning in this case? Something like:
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#.
--
_______________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
