Local variable type inference

Why RubyMine can't inference a local variable type in the following code?

a = 1, 2, 3
puts a

I mean, RubyMine could show "a: array [1, 2, 3]" in the var's tooltip.

BTW, new Python Tools for Visual Studio can do it (and more tricky things as well). I think there's small difference benween Ruby and Python in this respect.

Please sign in to leave a comment.