Skip to content

Js__Js_xxx.t appears on type-errors and hovering  #1154

@davesnx

Description

@davesnx

Since we wrap melange.js there's an unfortunate side-effect of dune being wrapped by using a module name with __ like (Js__Js_date) for all modules inside Js like (js_date.ml).

It's very convenient to use wrapped modules when you don't want to expose a bunch of modules to the top-level, but since Js isn't meant to be opened at the top I would argue that it's better if we keep it unwrapped for the sake of having better error messages.

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