2 ms·
I think the parent is raising the point that knowing that there's a problem is only half of the issue you need to solve. Being able to assert that certain types
by bastawhiz 4y ago
I think the parent is raising the point that knowing that there's a problem is only half of the issue you need to solve. Being able to assert that certain types only appear in certain places is still important: if I pass the wrong type as a function argument, I don't know whether there's a bug somewhere upstream where that data came from, or whether there's a bug in the function where I'm using a parameter incorrectly. Or if I'm not returning where I should be, or returning where I shouldn't be.
- jiangmy 4y agoDid you mean something like an error stack? That'll be significantly helpful if the last error is not apparent enough to solve the error. I'll investigate this and see if there's any performance impact on the inferring process.