When is a non-breaking language fix, breaking?

In VS2012 we fixed some method-resolution problems from VS2010. These were method-calls that failed to compile in VS2010, but now compile cleanly in VS2012.   VB: Dim numbers As IEnumerable(Of Integer) = {1, 2, 3}Sub f(Of T)(x As T)Sub f(Of T)(x As IEnumerable(Of T)) f(numbers)  ‘ Should obviously pick the second overload, since it’s more specific…

1

VB and C# grammar for VS2010

Here is language grammar for Visual Basic 10 and for C# 4.0. These are the versions of the languages which shipped with Visual Studio 2010. Visual Basic 10 vb10.html   C# 4.0 csharp4.html Please click on the pictures and explore! You can save a copy of the html files to your computer. But please link or…

6

My dog has no type (Expressions with "Superposition" types)

“My dog has no type.”“How does he smell?”“Awful!” This article originally was called “Expressions with no types” but that was a misleading title. This article is really about expressions which have a “quantum superposition” of several types: that’s to say, the expression on its own could be one of several different types, but then the immediate context…

2