Skip to content

Luau require-by-string aliases are case sensitive #620

@filiptibell

Description

@filiptibell

Reported by a user of Lune:

Error: error requiring module "@lune/DateTime": could not jump to alias

(apparently it should be @lune/datetime)

According to the Luau RFC for aliases, they should be case-insensitive:
https://github.com/luau-lang/rfcs/blob/master/docs/require-by-string-aliases.md#aliases

What is the appropriate way to fix this? Should it be fixed in mlua or can Lune fix it somehow?

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