Is there any plans for anymouose types?


#1

Something like val x = {x=10,y=20} compiler can convert to

data class AnonymouseXY(val x: Int, val y: Int)
val x = AnonymouseXY(10,20)

#2

Such types could be used only locally. There doesn't seem to be enough use cases (as we are not going to do LINQ the way C# does).