They never stated it directly, but I always got the strong feeling that Robin and Barney are married in the future. Just the way that Bob Saget talks about both of them in the future. It's nothing concrete, but it always felt that way to me.
So this development didn't surprise me at all. I am a bit surprised to see that there are people here who felt very much the opposite.