Skip to content

Build error: Dynamic module import of nested expressions #6430

Closed
@mununki

Description

@mununki

The builtin ppx seems not able to transform the expression of dynamic module import properly.

let f = async () => {
  module M3 = await Belt.List
  M3.forEach
}

This is likely due to a failure to perform a transformation on the Pexp_letmodule in the nested expression.

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