[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [ProgSoc] Programming! Code!
On Thu, 2006-10-19 at 20:33 +1000, Nigel Sheridan-Smith wrote:
> > I'm sure a quick (compiled) test will confirm whether...
> >
> > bool b1 = null;
> > System.Boolean b2 = null;
> >
> > ... is valid code. It appears the C# compiler rejects both.
> >
>
> I just remembered this... its been around for a while.
>
> http://research.microsoft.com/specsharp/
Interesting; spec# claims to add non-null types, but your test suggests
that even System.Boolean is already non-null.
Oh well, syntax trivia...
- Raz
-
You are subscribed to the progsoc mailing list. To unsubscribe, send a
message containing "unsubscribe" to progsoc-request@xxxxxxxxxxxxxxxxxxx
If you are having trouble, ask owner-progsoc@xxxxxxxxxxxxxxxxxx for help.