Describe the issue:
When a function with the same name as an external function is defined in Yul, it is not possible to reference the external function using the IdentifierPath approach.
Code example to reproduce the issue:
contract State {
function f() public returns (uint) {
assembly {
function f() {}
}
return 0;
}
}
contract C {
uint y;
State s;
function f() public {
y = s.f();
}
}
Version:
0.11.3
Relevant log output:
ERROR:ConvertToIR:Function not found f
ERROR:ContractSolcParsing:Impossible to generate IR for C.f (20250207011159.sol#17-19):
'NoneType' object has no attribute 'type'