Skip to content

Cannot or nillable enum with enum member #330

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

Closed
lewis6991 opened this issue Apr 6, 2025 · 0 comments · Fixed by #404
Closed

Cannot or nillable enum with enum member #330

lewis6991 opened this issue Apr 6, 2025 · 0 comments · Fixed by #404
Assignees

Comments

@lewis6991
Copy link
Collaborator

Image
--- @enum MyEnum
local MyEnum = { A = 1, B = 2 }

local x --- @type MyEnum?

--- @type MyEnum
local _ = x or MyEnum.A
@CppCXY CppCXY added the bug Something isn't working label Apr 7, 2025
@CppCXY CppCXY self-assigned this Apr 7, 2025
@lewis6991 lewis6991 removed the bug Something isn't working label Apr 17, 2025
xuhuanzy added a commit to xuhuanzy/emmylua-analyzer-rust that referenced this issue Apr 29, 2025
xuhuanzy added a commit to xuhuanzy/emmylua-analyzer-rust that referenced this issue Apr 29, 2025
xuhuanzy added a commit to xuhuanzy/emmylua-analyzer-rust that referenced this issue Apr 29, 2025
@xuhuanzy xuhuanzy mentioned this issue Apr 29, 2025
xuhuanzy added a commit to xuhuanzy/emmylua-analyzer-rust that referenced this issue Apr 29, 2025
xuhuanzy added a commit to xuhuanzy/emmylua-analyzer-rust that referenced this issue Apr 30, 2025
xuhuanzy added a commit to xuhuanzy/emmylua-analyzer-rust that referenced this issue Apr 30, 2025
@CppCXY CppCXY closed this as completed in 211fc24 Apr 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants