luau-lang/luau

String keys are not checked against table indexer

Ketasaja opened this issue · 0 comments

Tested on 0.629, no errors in strict or non-strict mode. Same behavior with old solver.

local _: {[boolean]: true} = {
	k = 1,
}