smartcontractkit / full-blockchain-solidity-course-js

Learn Blockchain, Solidity, and Full Stack Web3 Development with Javascript
11.94k stars 2.89k forks source link

ParserError: Expected ';' but got ',' #6655

Open Benedicity948 opened 3 weeks ago

Benedicity948 commented 3 weeks ago

Lesson

Lesson 4

Could you please leave a link to the timestamp in the video where this error occurs? (You can right click a video and "copy video URL at current time")

https://youtu.be/gyMwXuJrbJQ?t=17343

Operating System

Windows

Describe the bug

ParserError: Expected ';' but got ',' --> contracts/FundMe.sol:55:26: | 55 | {bool callSuccess, } = payable(msg.sender).call{value: address(this).balance}(""); | ^

I keep encountering this error every time in my contract. Please anyone with a solution.

tusharr1411 commented 2 weeks ago

put your complete code...