Hacker News new | ask | show | jobs
by jw- 3106 days ago
It's already been flirted with in JS I believe [1], though not specifically for Flow. The problem is that it falls down in the higher order case, which happens quite alot in JS. Also, I don't think JS has a mechanism like sys.setprofile that deals with alot of the pain points.

[1] https://medium.com/fhinkel/runtime-type-information-for-java...