[New solver] table of functions that accepts any type cant be any type

unable to have a table of functions that accepts any type as its parameter

local functions: {[any]: (any) -> ()} = {}
functions.func1 = function(value: string) end
functions.func2 = function(value: boolean) end
functions.func3 = function(value: number) end
functions.func4 = function(value: any) end

Expected behavior

(string) -> () should be able to convert into (any) -> ()
or any other type like numbers booleans etc..

4 Likes

Hello! Thanks for reporting this, and agreed that this is a bug. We’ll try to keep you in the loop as we roll out a fix.

1 Like

Hello!

Sorry for the late response. This was fixed a little while ago.

Cheers!