Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tact: incorrect syntax erorr at empty messages/structs. #191

Open
imartemy1524 opened this issue Aug 20, 2024 · 0 comments
Open

Tact: incorrect syntax erorr at empty messages/structs. #191

imartemy1524 opened this issue Aug 20, 2024 · 0 comments

Comments

@imartemy1524
Copy link

When one tries to create struct/message without passing fields - plugin doesn't recognize it.

Code example

message(0x123) Test{
    //empty body
}

fun createTest(): Test{
    //Syntax error here
    return Test{};
}

Error messages

Unresolved reference: `Test`
<statement> expected, got ';'

image

System information

Tact plugin version: 2.3
Webstorm version: 2024.2
Operation system: Arch Linux x86_64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant