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
The following test program causes a Member "func27" not found or not visible after argument-dependent lookup in contract contract19.
contractcontract19 {
mapping(int64=>mapping(int64=>int64)) internal mapping37;
function func26() externalview {
this.func27(mapping37);
}
function func27(mapping(int64=>mapping(int64=>int64)) memorymapping28) externalview {
}
}
The following test program switches the order of func26 and func27, and it triggers Types containing (nested) mappings can only be parameters or return variables of internal or library functions.
contractcontract19 {
mapping(int64=>mapping(int64=>int64)) internal mapping37;
function func27(mapping(int64=>mapping(int64=>int64)) memorymapping28) externalview {
}
function func26() externalview {
this.func27(mapping37);
}
}
I think the second error message is correct.
Environment
Compiler version: 0.8.28
The text was updated successfully, but these errors were encountered:
Description
The following test program causes a
Member "func27" not found or not visible after argument-dependent lookup in contract contract19.
The following test program switches the order of
func26
andfunc27
, and it triggersTypes containing (nested) mappings can only be parameters or return variables of internal or library functions.
I think the second error message is correct.
Environment
The text was updated successfully, but these errors were encountered: