Type instability in list comprehensions

The “correct” thing to return is actually Union{}[] which is the empty array with element type Union{}.

4 Likes