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

internal parser error at crates/parser/src/parser.rs:186:9 #966

Open
bshastry opened this issue Dec 1, 2023 · 0 comments
Open

internal parser error at crates/parser/src/parser.rs:186:9 #966

bshastry opened this issue Dec 1, 2023 · 0 comments
Labels
v2-resolve This issue will be resolved in fe-v2 implementation

Comments

@bshastry
Copy link

bshastry commented Dec 1, 2023

contract C {

    pub fn f(self) -> Array<u256, 1> {
        let my_array: Array<u256, 1> = [0; 1 x]
    }
}

throws

assert_eq!(tok.kind, tk, "internal parser error");

Repro

fe build test.fe

where content of test.fe is contract C above.

@Y-Nak Y-Nak added the v2-resolve This issue will be resolved in fe-v2 implementation label Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v2-resolve This issue will be resolved in fe-v2 implementation
Projects
None yet
Development

No branches or pull requests

2 participants