semantic: Handle overloaded functions in the same interface when generating struct assigns.