hi, pls i got this error while following the tutorial, how do i fix it, thanks #6643
Unanswered
ChukwuemekaKarl
asked this question in
Q&A
Replies: 2 comments
-
Not enough info, but here's what that struct should look like: struct People{
uint256 favoriteNumber;
string name;
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
It says you are missing a semicolon(;) somewhere in the code |
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.
-
ParserError: Expected ';' but got 'struct'
--> contracts/SimpleStorage.sol:10:5:
|
10 | struct People {
| ^^^^^^
Beta Was this translation helpful? Give feedback.
All reactions