EnumItem.EnumType is still not defined in the type checker

I don’t have much to say. Despite a post to the contrary, EnumItem's type definition still doesn’t include EnumType.

image

To replicate this issue, put this code into a script:

--!nonstrict
local function foo(bar: EnumItem)
	return bar.EnumType
end

and observe that there is warning that reads Key 'EnumType' not found in class 'EnumItem'.

This is still happening as of version 0.458.1.415373.

This is technically a duplicate report but the other one was closed and we were told to make a new topic if the issue persists… Which it is. It has never not been an issue. It’s quite frankly ridiculous that that bug report was closed when it’s obviously not fixed, but whatever I guess.

2 Likes

This has been fixed in 459 which is not live yet.

10 Likes

Now it’s showing a different error.

1 Like