Slide 36
Slide 36 text
Difficult features to analyze
• Typically, TP cannot trace Object#send
• Singleton methods, Object#eval, binding, etc...
• You need manually write RBS in this case
37
def inc(n)
n
end
send("inc".to_sym, 42)
infer
def inc: (any) -> any
The Symbol cannot be
determined in type-level