refactor: Add FunctionCastOptions
and conservative IR-level cast type-checking
#20286
+315
−197
Loading