Skip to content

Non-Prelude imports aren't resolved with respect to casing / capitalization #191

@brekk

Description

@brekk

What version of Madlib are you running?

madlib@0.24.1

How is Madlib installed on your system?

Installed via npm

What were you trying to do?

When importing a local or external (3rd-party) dependency, the capitalization of an import isn't respected.

Each of these is treated as an identical statement:

import C from "MyCoolDep"
import C from "mYcOoLdEp"
import C from "mycooldep"

What did you expect to happen?

I'd expect the behavior to be the same as importing from Prelude modules, where capitalization matters.

What actually happened?

The compiler doesn't care about casing.

Logs

No response

Code Targets

No response

Environment details

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions