ColorSequence.new() type error

Why does using ColorSequence.new() on a single color3 give a warning in --!strict mode?


One of the ColorSequence.new() overloads are literally (Color3) -> ColorSequence so I dont get it..
Am I doing something wrong?? Or is the typechecker just tweaking again

2 Likes

Seems like a solver bug, this is your only option:

local sequence = (ColorSequence.new :: (Color3) -> ColorSequence)(a)
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.