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

Switch misinterpreted as "invalid" function declaration #49

Closed
Lexikos opened this issue Oct 27, 2021 · 0 comments
Closed

Switch misinterpreted as "invalid" function declaration #49

Lexikos opened this issue Oct 27, 2021 · 0 comments

Comments

@Lexikos
Copy link

Lexikos commented Oct 27, 2021

In this code, String(x.y) is marked with the error "Invalid parameter definition".

outer(x) {
    local upvar
    switch String(x.y) {
        
    }
}

This does not occur if local upvar is removed or commented out.

thqby added a commit that referenced this issue Oct 27, 2021
@thqby thqby closed this as completed Oct 31, 2021
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