3 ms·
The code has to be executed for getting the type information (hence the runtime). It is less powerful than inferring types, and won't help I think from an IDE
by batmansmk 9y ago
The code has to be executed for getting the type information (hence the runtime).
It is less powerful than inferring types, and won't help I think from an IDE perspective, except in the edge case of refining types that are too broad; but it will be based on one execution path.
- jw- 9y agoYou could easily use unit tests to get better coverage.