Skip to content

Binary operations with function parameters cause unintended recursion #7

@adapap

Description

@adapap

Creating a binary expression such as with +, *, or ^ as an argument passed into a function results in a recursive lookup, creating a chain of expressions in the output.
Example

%funcb(a)
    funca(a + Up)
%funca(a)
    Msg(Everyone, a)
//funcb(<1,2,3>)

The value of a is evaluated to a + Up in funca rather than <1, 2, 3> + Up. This results in a chain of Add(..., 1) expressions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions