Skip to content

Argument order important for equality operators #321

Closed

Description

@MiranDMC

Using <> or == causes compilation error in some cases:

var 
    $global : int
end

function foo(local :int)
    if or
        $global <> local // ok
        local <> $global // error
    then
    end
end

Activity

  1. changed the title [-]Argument order important to comparation operator[/-] [+]Argument order important for equality operators[/+] on Apr 17, 2024
  2. added this to the v4.0.0 milestone on Apr 29, 2024
  3. x87 commented on Aug 7, 2024

    @x87
    Collaborator

    fixed in 4.0.0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:p3scope:compilertype:nice-to-have

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions