Skip to content
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

bundler repeats packages with different variables #103

Open
RodrigoDornelles opened this issue Oct 22, 2024 · 0 comments
Open

bundler repeats packages with different variables #103

RodrigoDornelles opened this issue Oct 22, 2024 · 0 comments
Labels
bug Something isn't working difficulty: expert require low level experiencie tool: bundler

Comments

@RodrigoDornelles
Copy link
Member

to reproduce bug:

local application_default = require('src/lib/object/application')
local application = require('src/lib/object/application')

luau-analyzer:

dist/main.lua(13,7): LocalUnused: Variable 'lib_object_application' is never used; prefix with '_' to silence
dist/main.lua(16,7): LocalShadow: Variable 'lib_object_application' shadows previous declaration at line 13

top of dist/main.lua

local lib_object_application = nil
local lib_object_color = nil
local lib_object_std = nil
local lib_object_application = nil
@RodrigoDornelles RodrigoDornelles added bug Something isn't working difficulty: expert require low level experiencie tool: bundler labels Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working difficulty: expert require low level experiencie tool: bundler
Projects
None yet
Development

No branches or pull requests

1 participant