8000 TypeError: Type function instance union<*blocked-259446*, nil> is uninhabited · Issue #1886 · luau-lang/luau · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
TypeError: Type function instance union<*blocked-259446*, nil> is uninhabited #1886
Open
@iulh

Description

@iulh

Got an error TypeError: Type function instance union<*blocked-259446*, nil> is uninhabited from the code below:

type Typechecker<A> = (A, ...any) -> (boolean, string?)

return function<K, V>(a1: { [K]: V }, a2: { [K]: V }, a3: {[K]: Typechecker<V>?})
	for i, v in a2 do
		local v3 = a3[i]
		if typeof(v3) ~= "function" or v3(a1[i]) == true then
			-- stopped here
		end
	end
end

I have not that much to say really, it simply got marked as a bug so i feel like bringing it up

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingnew solverThis issue is specific to the new solver.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0