Skip to content

Unhandled case when returning from function call #661

@edsrzf

Description

@edsrzf

What happened?

This code causes a VM error: Unhandled case when returning from function call

(import std.Prelude)
(list:foldLeft [1 2 3] 0 (fun(a b){
(or 0(if 0 0))
b}))

What ArkScript version are you seeing the problem on?

4.4.1

Operating System

Linux

Compiler used

None

Compiler version used

No response

Relevant code & log output

Documentation

  • I have read existing related documentation before submitting this report
  • I have searched for an existing issue before posting

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