Skip to content

try should prevent tail recursion optimization #1701

@vkurchatkin

Description

@vkurchatkin

Example:

exception Foo

let rec test n =
  if n = 0 then
    raise Foo
  else
    try
      test (n - 1)
    with Foo -> ()

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions