As the title says. The existing implementation did not support this. Note that this doesn't support partial specialization. See #137441 for the original implementation. This is needed for #143582. Pull Request: https://projects.blender.org/blender/blender/pulls/144212