Anything in Scala equivalent to C#'s `dynamic`?

Viewed 344

I believe the answer is no, but wouldn't hurt to check: anything in Scala that's equivalent to C#'s dynamic keyword? Anything on the horizon?

I know about scala.Dynamic, which is not the same thing - in C# you don't know the types at compile time, and the dynamic type propagates.

I also know about invokedynamic, which is not the same thing - invokedynamic is the infrastructure that would make language constructs like dynamic performant.

Anything on the horizon?

1 Answers
Related