Bend icon indicating copy to clipboard operation
Bend copied to clipboard

Program result prints function name rather than value

Open Gadersd opened this issue 9 months ago • 1 comments

Reproducing the behavior

Running bend run test.bend on

def get_string():
  return "Hello, World!"

def main():
  val = get_string()
  return val

yields Result: get_string rather than Result: "Hello, World!".

System Settings

  • hvm v2.0.16
  • bend-lang 0.2.18
  • OS: Linux (Ubuntu 22.04)

Additional context

No response

Gadersd avatar May 24 '24 17:05 Gadersd