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

Inline function parameters showing first parameter when called with a colon in some cases #766

Closed
Tazmondo opened this issue Sep 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Tazmondo
Copy link

Tazmondo commented Sep 11, 2024

This only seems to occur when the function hasn't been defined with a colon.

t:func should show a1, a2, like t2:func, and not t, a1.

local function func(t, a1, a2) end

local t = {
	func = func,
}

local t2 = {}

function t2:func(a1, a2) end

t:func(1, 2)
t2:func(1, 2)

image

@JohnnyMorganz JohnnyMorganz added the bug Something isn't working label Sep 14, 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
Projects
None yet
Development

No branches or pull requests

2 participants