DeclarationError: Identifier not found or not unique. #1028
-
Beta Was this translation helpful? Give feedback.
Answered by
alymurtazamemon
Jul 16, 2022
Replies: 1 comment 4 replies
-
@bankyf You are creating struck with small letter of p that matches with people variable that's why it is giving duplicate error. struct people {
uint256 favoriteNumber;
string name;
} Change to this struct People {
uint256 favoriteNumber;
string name;
} |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
alymurtazamemon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@bankyf You are creating struck with small letter of p that matches with people variable that's why it is giving duplicate error.
Change to this