For functions that are not runtime performance-critical, annotating arguments as @nospecialize x (or x::ANY on 0.6) might be worth a try. (In other words, sort of the opposite of the direction you were asking about.) HTH.
For functions that are not runtime performance-critical, annotating arguments as @nospecialize x (or x::ANY on 0.6) might be worth a try. (In other words, sort of the opposite of the direction you were asking about.) HTH.