Skip to content

Invalid operation depending on arguments order #343

Open
@MiranDMC

Description

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 ?

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions