Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
brekk opened this issue Sep 23, 2024 · 0 comments
Open

Comments

@brekk
Copy link
Contributor

brekk commented Sep 23, 2024

What version of Madlib are you running?

[email protected]

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant