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

Invalid operation depending on arguments order #343

Open
MiranDMC opened this issue Aug 16, 2024 · 0 comments
Open

Invalid operation depending on arguments order #343

MiranDMC opened this issue Aug 16, 2024 · 0 comments

Comments

@MiranDMC
Copy link

MiranDMC commented Aug 16, 2024

var
    $scplayer : int
end
int a = -1

if or
    $scplayer == a // ok
    a == $scplayer // One of the variables has an unknown type, or the operands are incompatible.
then
end

switch a
    case $scplayer // One of the variables has an unknown type, or the operands are incompatible.
end

Regression of #321 ?

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

No branches or pull requests

2 participants