.sol file not compiling: chain feed "int256" bug #3197
Answered
by
EngrPips
Vermitrude
asked this question in
Q&A
-
This happened while i was coding in-lesson with Mr Patrick. |
Beta Was this translation helpful? Give feedback.
Answered by
EngrPips
Jan 7, 2025
Replies: 2 comments 12 replies
-
Hello @Vermitrude, what does the compiler say When you hover on that red squiggly line? |
Beta Was this translation helpful? Give feedback.
1 reply
-
I think that on line 26 your return statement is missing a ; |
Beta Was this translation helpful? Give feedback.
11 replies
-
Go to line 22 add a semicolon(;) and then test it. It should work. |
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
Please always make sure to put
;
at the end of every line in your code, as that indicates the end of a line to the compiler. Not putting it will cause confusion to the compiler, and it will cry out in pain.