Skip to content

LessEqual Binop formating in IR #181

Closed
@mtb0x1

Description

@mtb0x1

In src/codegen/ir.rs, there is a bug in the formatting of the Less-Than-or-Equal (LessEqual) binary operator. The operator was incorrectly formatted as ' < ' instead of the correct ' <= ', which would cause incorrect code generation for less-than-or-equal operations.

this

Binop::LessEqual => sb_appendf(output, c!(" < ")),
should be this instead :

 Binop::LessEqual    => sb_appendf(output, c!(" <= ")),

?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions