JetBrains / ruby-type-inference

Dynamic definitions and types provider for ruby static analysis
Apache License 2.0
137 stars 7 forks source link

Fix prioritization with RubyMine type inference system. Which plugin sometimes replaces #32

Open nikitabobko opened 5 years ago

nikitabobko commented 5 years ago

Example: run this with type tracker:

def foo(a); a; end

bar("String")

Then ask type of:

bar(4)

It will say that type in String but current type inference system in RubyMine can inference type itself and do it absolutely correctly