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

Panic when parsing Rust lists #575

Open
morgante opened this issue Nov 13, 2024 · 0 comments
Open

Panic when parsing Rust lists #575

morgante opened this issue Nov 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@morgante
Copy link
Contributor

The studio panics when running this pattern:

language rust

`fn $name($args) -> $ret { $block }` as $node where {
    $arg0 = $args[0],
    $node => `fn x($arg0) -> $ret { $block }`
} 

When applied to:

fn foo(x: usize) -> usize {
    println!("Hi!");
    return x;
}

Reported in https://discord.com/channels/1140989670751219762/1304597516234526761/1305934295810052269

@morgante morgante added the bug Something isn't working label Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant