TypeError: Data location must be "memory" or "calldata" for parameter in function, but none was given. #6389
royhannulloh
started this conversation in
General
Replies: 1 comment
-
The function addPerson(string memory _name, uint256 _favNum) public {
people.push(People(_favNum, _name));
nameToFavoriteNumber[_name] = _favNum;
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Can someone help me to find an error in my code
Beta Was this translation helpful? Give feedback.
All reactions