You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiler doesn't make cross-file checks in param and return parameters when inheriting an interface. In a normal scenario, compile fails if natspec param name != contract param name. Yet this is not the case for inherited interfaces
Environment
Compiler version: 0.8.28
Steps to Reproduce
// IGreeter.solinterfaceIGreeter {
/// @param _newPenguin The new greeting to setfunction setGreeting(stringmemory_newPenguin) external;
/// @return _penguin The current greetingfunction getGreeting() externalviewreturns (stringmemory_penguin);
}
Description
Compiler doesn't make cross-file checks in
param
andreturn
parameters when inheriting an interface. In a normal scenario, compile fails if natspec param name != contract param name. Yet this is not the case for inherited interfacesEnvironment
Steps to Reproduce
The text was updated successfully, but these errors were encountered: