using PolyFunc in TypeApply
resolved conflicts in PythonSourceGenerator