Skip to content

Another name function does not work #1

@oshimayuki1124

Description

@oshimayuki1124
let id x = x in
let orig = (id : ?) in
orig 3;;

orig is a function with cast for id.
Closure conversion cannot find the name orig and fails by:

***** Closure *****
Fatal error: exception Not_found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions