Skip to content

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

Open
@Benedicity948

Description

@Benedicity948

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions