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

Syntax Support #87

Open
JaredBorders opened this issue Apr 11, 2023 · 1 comment
Open

Syntax Support #87

JaredBorders opened this issue Apr 11, 2023 · 1 comment

Comments

@JaredBorders
Copy link

JaredBorders commented Apr 11, 2023

% solstat --path ./src fails with:

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: [Diagnostic { loc: File(1, 832, 840), level: Error, ty: ParserError, message: "unrecognised token 'accounts', expected \"=>\"", notes: [] }]', /Users/username/.cargo/registry/src/github.com-1ecc6299db9ec823/solstat-0.5.0/src/analyzer/vulnerabilities/mod.rs:102:73
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I believe this may be due to the following syntax:

mapping(address accounts => bool exist) public accounts;
@calbera
Copy link

calbera commented Mar 30, 2024

+1 @0xKitsune, looking for support for mappings with named key/values

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

2 participants