Skip to content

Cannot interpret nested call statements in return #43

@kobbled

Description

@kobbled
local := R[70..80]

def func2(val, exp) : numreg
  return(Mth::exp(exp * Mth::ln(val)))
end

power := R[20]
power = ns1::func2(4, 2)

gives error:

indirect_node.rb:70:in `id': undefined method `value' for #<TPPlus::Nodes::ArgumentNode:0x000001f424c699f8 @id=3, @comment=:ret> (NoMethodError)

        @target.value\r

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