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

Invalid Roact usage reports "Instance" rather than the real class name #297

Closed
Kampfkarren opened this issue Sep 23, 2021 · 0 comments · Fixed by #420
Closed

Invalid Roact usage reports "Instance" rather than the real class name #297

Kampfkarren opened this issue Sep 23, 2021 · 0 comments · Fixed by #420
Labels
A-lints Area: Relating to a lint directly A-roblox Area: Roblox specific C-bug Category: Bug

Comments

@Kampfkarren
Copy link
Owner

Gradient = e("UIGradient", {
	Angle = math.atan(difference / LINE_HEIGHT),
})

...tells you:

Angle is not a property of Instance

...rather than "UIGradient".

@Kampfkarren Kampfkarren added C-bug Category: Bug A-lints Area: Relating to a lint directly A-roblox Area: Roblox specific labels Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-lints Area: Relating to a lint directly A-roblox Area: Roblox specific C-bug Category: Bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant