Print an error instead of crashing in two places.
If someone has a better error message for the first case, I would be glad to use it.
Flakebi on Jun 3 2020, 3:02 AM.Authored by
Thank you for the fast review!
In the case where I encountered it, the types cannot be determined because the for loop is never executed and it crashed below, trying to access null types.