Skip to content

Conversation

@Vighnesh-V
Copy link
Collaborator

Lute setup had a bug whereby it would write new typedefs into the typedefs folder, but sometimes these could conflict with stale typedefs, causing ambiguous requires. For example, moving "posix.luau" into posix/init.luau but keeping posix.luau around will lead to an ambiguous require.

To do this, lute setup will call a new standard library method - fs.removedirectory with the { recursive = true} option.

@Vighnesh-V Vighnesh-V marked this pull request as ready for review November 13, 2025 02:03
@Vighnesh-V Vighnesh-V marked this pull request as draft November 13, 2025 02:06
@Vighnesh-V Vighnesh-V marked this pull request as ready for review November 13, 2025 02:07
@aatxe aatxe merged commit 9f576a2 into primary Nov 13, 2025
11 checks passed
@aatxe aatxe deleted the setup-removes-typedefs branch November 13, 2025 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants