2 ms·
Are you saying that every function can only be called with a consistent set of types in the parameters? It’s not possible to call a function two times and suppl
by coder543 2y ago
Are you saying that every function can only be called with a consistent set of types in the parameters? It’s not possible to call a function two times and supply parameters that have different fields on them?
Unless that is true, the end result might not be ideal. You could certainly record the information that is there at every line of code at runtime, and you could probably calculate the union of the parameter types to find only the fields that are always there, which would be fairly okay I guess.